1. The problem I’m having:
I recently just got a NAS (UGreen) and I am attempting to setup Caddy to expose Jellyfin through a URL, the 80 port is working just fine however with the 443 port I get this error:
My NAS is on port 9999 so its autopicking it up from there
2. Error messages and/or full log output:
ERROR validating authorization {"identifier": "MY_SITE", "problem": {"type": "urn:ietf:params:acme:error:connection", "title": "", "detail": "MY_IP: Fetching MY_SITE:9999/desktop/: Invalid port in redirect target. Only ports 80 and 443 are supported, not 9999", "instance": "", "subproblems": null}, "order": "https://acme-v02.api.letsencrypt.org/acme/order/2165111615/345405744855", "attempt": 1, "max_attempts": 3}
3. Caddy version:
v2.9.1
4. How I installed and ran Caddy:
Through the Docker application on the UGreen NAS
a. System environment:
Docker
b. Command:
d. My complete Caddy config:
MY_SITE:80 { reverse_proxy LOCAL_IP:45477 log { output file /data/caddy.log }}MY_SITE:443 { reverse_proxy LOCAL_IP:37749 log { output file /data/caddy.log }}