mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #2896] Response headers duplicate when using the add_header nginx config #1985
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#1985
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 @nickelswitte on GitHub (May 7, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2896
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
When adding headers to the response via the advanced custom nginx configuration, the headers are duplicated in the response, rather than overwritten or appended, resulting in unusual behaviour.
Nginx Proxy Manager Version
2.10.2
To Reproduce
Steps to reproduce the behavior:
Expected behavior
That the header will be appended or replaced, or rather generally, that the browser will accept the duplicate header in some way.
@github-actions[bot] commented on GitHub (Jan 20, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@nickelswitte commented on GitHub (Feb 23, 2024):
I am still interested in an response on this
@dhruvb14 commented on GitHub (Oct 26, 2024):
I got this working finally in NPM
The magic is
proxy_hide_header X-Frame-Options;I added that to the top with the other headers and nothing in advanced tab just in the
location>advancedtab@github-actions[bot] commented on GitHub (Jun 9, 2025):
Issue is now considered stale. If you want to keep it open, please comment 👍