nginx-proxy-manager
nginx-proxy-manager copied to clipboard
Disable default headers set by nginx-proxy-manager
Is your feature request related to a problem? Please describe.
I have a case where the proxied application stops working if the default Host header (proxy_set_header Host $host
) is set. This is done automatically by nginx-proxy-manager.
Describe the solution you'd like
Add a checkbox (unchecked by default) to create a "raw" proxy where only the proxy_pass
directive is set in the configuration file.
Describe alternatives you've considered No alternatives I can think of.
I faced the exact same issue and solved it by removing the proxy_set_header
lines from the config template file and adding them in frontend/js/models/proxy-host-location.js
as a default value for the advanced_config
field, thus maintaining the default behaviour while allowing maximum configurability.
Seems like a good solution. Could you make create a PR with these changes?
Here it is #1844
I'm facing the same issue when adding Authelia in the custom locations instead of advanced tab. Due to 1 or more proxy_set_header which is added as default causes the login to not work.
Is there news on when this PR will be released?
+1
I have the same issue for some testing purposes, sadly the PR got deleted / closed :-(
Issue is now considered stale. If you want to keep it open, please comment :+1: