mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #4799] WebDAV MOVE Fails: NPM Auto-Added Host Header Overrides Custom Config #3022
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#3022
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 @shadowmimosa on GitHub (Oct 14, 2025).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4799
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
When configuring a Custom Location
/with customproxy_set_headerdirectives, NPM automatically addsproxy_set_header Host $host;which overrides the intended custom setting. This causes issues with services that require the fullHost: hostname:portformat (e.g., WebDAV services).Specifically, when adding
proxy_set_header Host $http_host;in Custom Location config, NPM still injectsproxy_set_header Host $host;after it, making the custom setting ineffective.To Reproduce
/proxy_set_header Host $http_host;proxy_set_header Host $host;still exists and overrides the custom settingExpected behavior
Either:
proxy_set_header Hostdirective should not be overridden by auto-generated defaultsOperating System
Docker (jc21/nginx-proxy-manager:latest)