Reverse Proxy - Apache behind Caddy

Caddy server is used as master reverse proxy to multiple Apache and Nginx on custom ports,

below, is the config Caddyfile for specific node accessed by Apache,

https://subs.domain.com 		    {
	tls     info@domain.com
	proxy / https://127.0.0.1:10383 { transparent insecure_skip_verify }
    							    }

access URL https://subs.domain.com should works normally and it is for platforms served by Nginx, but the above one served by Apache always returns https://subs.domain.com:10383 i.e. it rewrite address to include port number.

Please advise, Is that Caddy issue or Apache? Thanks

Caddy doesn’t redirect people off the default ports unless you tell it to.

Apache must be issuing that redirect based on the connecting client’s (Caddy’s) port.

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