[GH-ISSUE #2351] Setting proxy_set_header Host <VALUE>; #1666

Closed
opened 2026-02-26 07:31:58 +03:00 by kerem · 2 comments
Owner

Originally created by @prashantsomashekar on GitHub (Oct 31, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2351

Hi.

I need to set proxy_set_header Host value; as the application I am proxying to will not allow $host. I cannot seem to override this in a custom location block (which is ultimately being taken from proxy.conf / template). I cannot seeem to override this in server (because of the aforementioned include).

Can someone please advise on how I may do this, without hacking this thing and overriding files and removing things?

Thank you.

Originally created by @prashantsomashekar on GitHub (Oct 31, 2022). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2351 Hi. I need to set proxy_set_header Host _value_; as the application I am proxying to will not allow $host. I cannot seem to override this in a custom location block (which is ultimately being taken from proxy.conf / template). I cannot seeem to override this in server (because of the aforementioned include). Can someone please advise on how I may do this, without hacking this thing and overriding files and removing things? Thank you.
kerem closed this issue 2026-02-26 07:31:58 +03:00
Author
Owner

@prashantsomashekar commented on GitHub (Oct 31, 2022):

Closing this as there is a similar issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2076

<!-- gh-comment-id:1297772173 --> @prashantsomashekar commented on GitHub (Oct 31, 2022): Closing this as there is a similar issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2076
Author
Owner
<!-- gh-comment-id:2068583382 --> @bilogic commented on GitHub (Apr 22, 2024): Solution here https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2076#issuecomment-2068581644
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#1666
No description provided.