Skip to content
Discussion options

You must be logged in to vote

Hi @ale17z, thanks for the kind words!

Looking at your Caddyfile, you're binding the same domain to different custom ports (:4010, :4020) and reverse-proxying each to a different backend. This is a somewhat unusual Caddy setup — typically you'd serve everything on the standard HTTPS port (443) and differentiate services by subdomain or path.

CPM doesn't support custom listen ports for individual reverse proxy hosts — all HTTP proxy hosts are served on port 443 (HTTPS) by default, which is the standard and recommended approach.

Recommended approach — use subdomains instead of custom ports:

Instead of XXXXX.duckdns.org:4010 and XXXXX.duckdns.org:4020, create separate subdomains (or use path…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@ale17z
Comment options

Answer selected by fuomag9
Comment options

You must be logged in to vote
1 reply
@ale17z
Comment options

Comment options

You must be logged in to vote
1 reply
@ale17z
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants