[GH-ISSUE #469] Rewrite to different incoming port under custom locations? #395

Closed
opened 2026-02-26 06:32:41 +03:00 by kerem · 0 comments
Owner

Originally created by @zachdnvn on GitHub (Jun 21, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/469

Hello all,

I just wanted to begin by expressing thanks to this project, it's been an awesome service!

Anyways, I'm using nginx-proxy-manager as an internal DNS resolver. To accomplish this;

  • DNS server redirects matching hosts to docker for the reverse proxy.
  • Docker binds 443:4443 and 80:8080 so that nginx can properly serve requests.

My issue is that if I want to set a custom rewrite, nginx changes the outgoing port to 4443, in which the function is working as intended but due to my setup, I am unable to serve requests on 4443.

I've spent hours screwing with different headers, and modifying the location block but I have yet to find a solution. Any help would be greatly appreciated.

Thanks

Originally created by @zachdnvn on GitHub (Jun 21, 2020). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/469 Hello all, I just wanted to begin by expressing thanks to this project, it's been an awesome service! Anyways, I'm using nginx-proxy-manager as an internal DNS resolver. To accomplish this; - DNS server redirects matching hosts to docker for the reverse proxy. - Docker binds 443:4443 and 80:8080 so that nginx can properly serve requests. My issue is that if I want to set a custom rewrite, nginx changes the outgoing port to 4443, in which the function is working as intended but due to my setup, I am unable to serve requests on 4443. I've spent hours screwing with different headers, and modifying the location block but I have yet to find a solution. Any help would be greatly appreciated. Thanks
kerem 2026-02-26 06:32:41 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#395
No description provided.