mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #37] custom set header in location #35
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SaulGoodman1337 on GitHub (Dec 21, 2018).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/37
I currently have the problem that the Unifi controller wants the following header set:
proxy_set_header Authorization ""; .
Which is also no problem, I simply entered the header manually in the proxy_host config. But this config is always re-provisioned after a change anywhere in nginx proxy manager.
Does anyone have an idea how I can set this persistent?
@jc21 commented on GitHub (Jan 3, 2019):
It's not possible as yet for this to be set and persistent in the default location block. The feature will have to be added in a more generic manner.
@SaulGoodman1337 commented on GitHub (Jan 3, 2019):
Are you going to take care of this? The feature is really important for me, otherwise I have to look elsewhere :(
@SaulGoodman1337 commented on GitHub (Jan 3, 2019):
Just an idea...
add a checkbox that causes the location / {} for this host not to be rolled out. So I can define my own location in the Advanced settings.
This should be very easy and fast to solve.
@RHuehne commented on GitHub (Jan 12, 2019):
if there was an option "manual mode" in the advanced section which would just switch to the raw content of the conf file this would allow advanced configs without crashing the rest. When switching to manual mode, all previously in the gui configured settings would be listed, along with all required includes (for SSL and AccessLists, etc) - and you could just edit the conf by hand. Depending on how the gui-settings are stored (just the conf file or also in the DB), once enabled, disabling "manual mode" is either not allowed or would killl manual settings and restore the basic-settings initially defined via gui.
I really like this app! But as it happens often to me that basic settings don't do it for the proxy, I currently manage my nginx-reverse-proxy via the ajenti v1 webinterface (which is an web-based file editor basicly).
cheers!
@chaptergy commented on GitHub (Oct 25, 2021):
By now you can simply add a custom location
/and add your headers there through the advanced config.