Thanks a lot again for your help.
I will still try and install this on a Debian 12 machine. That’s next.
Please see below my checks on the points you suggested to check.
Maybe there is something entirely wrong with my installation, since I am not using NGINX on the server side.
I looked at the Caddy log within Docker, which seems to indicate inssues with TLS.
The section below keeps showing up constantly within the log file.
Maybe I can (or had to) set up TLS in the docker Caddy config.
{“level”:“info”,“ts”:1786356152.2307122,“logger”:“http.auto_https”,“msg”:“server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS”,“server_name”:“srv0”,“https_port”:443}
{“level”:“info”,“ts”:1786356152.2307808,“logger”:“http.auto_https”,“msg”:“enabling automatic HTTP->HTTPS redirects”,“server_name”:“srv0”}
{“level”:“info”,“ts”:1786356152.2325802,“logger”:“http”,“msg”:“enabling HTTP/3 listener”,“addr”:“:443”}
{“level”:“info”,“ts”:1786356152.2326276,“logger”:“http.log”,“msg”:“server running”,“name”:“srv0”,“protocols”:[“h1”,“h2”,“h3”]}
{“level”:“warn”,“ts”:1786356152.2327988,“logger”:“http”,“msg”:“HTTP/2 skipped because it requires TLS”,“network”:“tcp”,“addr”:“:80”}
{“level”:“warn”,“ts”:1786356152.2328265,“logger”:“http”,“msg”:“HTTP/3 skipped because it requires TLS”,“network”:“tcp”,“addr”:“:80”}
{“level”:“info”,“ts”:1786356152.2328455,“logger”:“http.log”,“msg”:“server running”,“name”:“remaining_auto_https_redirects”,“protocols”:[“h1”,“h2”,“h3”]}
{“level”:“info”,“ts”:1786356152.2328618,“logger”:“http”,“msg”:“enabling automatic TLS certificate management”,“domains”:[“server.example11.com”]}
{“level”:“info”,“ts”:1786356152.2329638,“logger”:“http”,“msg”:“servers shutting down with eternal grace period”}
{“level”:“info”,“ts”:1786356152.2334797,“msg”:“autosaved config (load with --resume flag)”,“file”:“/config/caddy/autosave.json”}
{“level”:“info”,“ts”:1786356152.2335267,“logger”:“admin.api”,“msg”:“load complete”}
{“level”:“info”,“ts”:1786356152.2337928,“logger”:“docker-proxy”,“msg”:“Successfully configured”,“server”:“localhost”}
{“level”:“info”,“ts”:1786356152.2348225,“logger”:“admin”,“msg”:“stopped previous server”,“address”:“localhost:2019”}
{“level”:“info”,“ts”:1786356155.1501803,“logger”:“docker-proxy”,“msg”:“New Caddyfile”,“caddyfile”:“https://server.example11.com {\n\thandle_path /socket.io/* {\n\t\trewrite * /socket.io{uri}\n\t\treverse_proxy :80\n\t}\n\thandle_path /sdoc-server/* {\n\t\trewrite * {uri}\n\t\treverse_proxy :80\n\t}\n\treverse_proxy 172.18.0.3:80\n}\n”}
{“level”:“info”,“ts”:1786356155.151546,“logger”:“docker-proxy”,“msg”:“New Config JSON”,“json”:“{“apps”:{“http”:{“servers”:{“srv0”:{“listen”:[“:443”],“routes”:[{“match”:[{“host”:[“server.example11.com”]}],“handle”:[{“handler”:“subroute”,“routes”:[{“group”:“group2”,“handle”:[{“handler”:“subroute”,“routes”:[{“handle”:[{“handler”:“rewrite”,“strip_path_prefix”:“/sdoc-server”}]},{“group”:“group1”,“handle”:[{“handler”:“rewrite”,“uri”:“{http.request.uri}”}]},{“handle”:[{“handler”:“reverse_proxy”,“upstreams”:[{“dial”:“:80”}]}]}]}],“match”:[{“path”:[“/sdoc-server/“]}]},{“group”:“group2”,“handle”:[{“handler”:“subroute”,“routes”:[{“handle”:[{“handler”:“rewrite”,“strip_path_prefix”:”/socket.io"}]},{“group”:“group0”,“handle”:[{“handler”:“rewrite”,“uri”:“/socket.io{http.request.uri}”}]},{“handle”:[{“handler”:“reverse_proxy”,“upstreams”:[{“dial”:“:80”}]}]}]}],“match”:[{“path”:["/socket.io/”]}]},{“handle”:[{“handler”:“reverse_proxy”,“upstreams”:[{“dial”:“172.18.0.3:80”}]}]}]}],“terminal”:true}]}}}}}”}
{“level”:“info”,“ts”:1786356155.151587,“logger”:“docker-proxy”,“msg”:“Sending configuration to”,“server”:“localhost”}
{“level”:“info”,“ts”:1786356155.1524997,“logger”:“admin.api”,“msg”:“received request”,“method”:“POST”,“host”:“localhost:2019”,“uri”:“/load”,“remote_ip”:“127.0.0.1”,“remote_port”:“56748”,“headers”:{“User-Agent”:[“Go-http-client/1.1”],“Content-Length”:[“940”],“Content-Type”:[“application/json”],“Accept-Encoding”:[“gzip”]}}
{“level”:“info”,“ts”:1786356155.153319,“logger”:“admin”,“msg”:“admin endpoint started”,“address”:“localhost:2019”,“enforce_origin”:false,“origins”:[“//[::1]:2019”,“//127.0.0.1:2019”,“//localhost:2019”]}
{“level”:“info”,“ts”:1786356155.1534424,“logger”:“http.auto_https”,“msg”:“server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS”,“server_name”:“srv0”,“https_port”:443}
{“level”:“info”,“ts”:1786356155.1534657,“logger”:“http.auto_https”,“msg”:“enabling automatic HTTP->HTTPS redirects”,“server_name”:“srv0”}
{“level”:“info”,“ts”:1786356155.1539829,“logger”:“http”,“msg”:“enabling HTTP/3 listener”,“addr”:“:443”}
{“level”:“info”,“ts”:1786356155.1539965,“logger”:“http.log”,“msg”:“server running”,“name”:“srv0”,“protocols”:[“h1”,“h2”,“h3”]}
{“level”:“warn”,“ts”:1786356155.1540425,“logger”:“http”,“msg”:“HTTP/2 skipped because it requires TLS”,“network”:“tcp”,“addr”:“:80”}
{“level”:“warn”,“ts”:1786356155.1540504,“logger”:“http”,“msg”:“HTTP/3 skipped because it requires TLS”,“network”:“tcp”,“addr”:“:80”}
{“level”:“info”,“ts”:1786356155.154055,“logger”:“http.log”,“msg”:“server running”,“name”:“remaining_auto_https_redirects”,“protocols”:[“h1”,“h2”,“h3”]}
{“level”:“info”,“ts”:1786356155.154061,“logger”:“http”,“msg”:“enabling automatic TLS certificate management”,“domains”:[“server.example11.com”]}
{“level”:“info”,“ts”:1786356155.154099,“logger”:“http”,“msg”:“servers shutting down with eternal grace period”}
{“level”:“info”,“ts”:1786356155.154297,“msg”:“autosaved config (load with --resume flag)”,“file”:“/config/caddy/autosave.json”}
{“level”:“info”,“ts”:1786356155.1543105,“logger”:“admin.api”,“msg”:“load complete”}
{“level”:“info”,“ts”:1786356155.1544318,“logger”:“docker-proxy”,“msg”:“Successfully configured”,“server”:“localhost”}
{“level”:“info”,“ts”:1786356155.1555426,“logger”:“admin”,“msg”:“stopped previous server”,“address”:“localhost:2019”}
I am wondering if it might have anything to do with the firewall.
I actually do use UFW and haven’t got IPTables installed. I am not used to work with that. I only open ports 22, 443 and 80 usually.
Could there be in issue with this of seafile docker containers talking to each other?