nginx-proxy / nginx-proxy

Automated nginx proxy for Docker containers using docker-gen
MIT License
18.13k stars 3k forks source link

fix: add non standard port to Host header #2388

Closed buchdag closed 3 months ago

buchdag commented 3 months ago

This fix #2386 by emulating the behaviour we had before #2278, when the port number was included in the Host header for non standard ports.

See also https://github.com/nginx-proxy/nginx-proxy/discussions/2271#discussioncomment-6475824 and https://github.com/nginx-proxy/nginx-proxy/discussions/2271#discussioncomment-8156338

@EarthCompass I think this will fix the issue you had.