I have just tried deploying this in Docker, following instructions in both Run in HTTPS mode and in Run in HTTP mode (will be using my own https and reverse proxy). ports 80 and 443 are already in use on this server, so I made the following change
-p 5889:80 \
-p 5890:443 \
Unable to connect
$ curl -I http://localhost:5889/
HTTP/1.1 308 Permanent Redirect
Connection: close
Location: https://localhost/
Server: Caddy
Date: Mon, 24 Feb 2025 00:21:20 GMT
https://localhost/ is not the the address of the server (and I don't want to be redirected to use SSL anyway)
$ curl -I https://localhost:5890/
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to localhost:5890
I have just tried deploying this in Docker, following instructions in both Run in HTTPS mode and in Run in HTTP mode (will be using my own https and reverse proxy). ports 80 and 443 are already in use on this server, so I made the following change
Unable to connect
https://localhost/ is not the the address of the server (and I don't want to be redirected to use SSL anyway)