[GH-ISSUE #5175] Allow nginx parameters *after* proxy.conf include #3135

Open
opened 2026-02-26 07:37:56 +03:00 by kerem · 0 comments
Owner

Originally created by @ben-efros on GitHub (Jan 15, 2026).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/5175

Is your feature request related to a problem? Please describe.
In a proxy scenario, occasionally we need to rewrite HTTP headers explicitly. For example I may host "mySite.proxy.company.com" and I want it to forward to an internal site "mySite-internal.company.com" . The server at "mySite-internal.company.com" does not respond/allow the CN of "mysite.proxy.company.com" and so it needs to be manually changed.

adding a line like this to the site conf file after the include /etc/nginx/conf.d/include/proxy.conf; line would allow or this:

proxy_set_header Host myHostName.myDomain;

Currently the Custom Nginx Configuration dialog only allows for custom configurations before the include of proxy.conf. Please add support for site-specific includes after proxy.conf as well.

Great job on this project by the way!!!

Originally created by @ben-efros on GitHub (Jan 15, 2026). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/5175 **Is your feature request related to a problem? Please describe.** In a proxy scenario, occasionally we need to rewrite HTTP headers explicitly. For example I may host "mySite.proxy.company.com" and I want it to forward to an internal site "mySite-internal.company.com" . The server at "mySite-internal.company.com" does not respond/allow the CN of "mysite.proxy.company.com" and so it needs to be manually changed. adding a line like this to the site conf file *after* the `include /etc/nginx/conf.d/include/proxy.conf;` line would allow or this: `proxy_set_header Host myHostName.myDomain;` Currently the `Custom Nginx Configuration` dialog only allows for custom configurations _before_ the include of proxy.conf. Please add support for site-specific includes *after* proxy.conf as well. Great job on this project by the way!!!
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#3135
No description provided.