Help with obtaining Let's Encrypt Certs

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        }}

5. Links to relevant resources:

That section of the error message seems clear.
Can you change the port?

Thats what I am confused about, why is it trying 9999 in the first place, my no-ip site doesnt specify port at all and in the Caddyfile I dont points to 9999 at all either.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.