mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #1477] After port mapping is done through the firewall the access URL will hide the port number #1137
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#1137
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 @wsczx on GitHub (Oct 11, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1477
Original configuration file:
Need to be modified to:
But every time you update the version, you need to enter the container to modify it. Is there a way to directly make the initial default value of
proxy_set_header Host $http_host;instead ofproxy_set_header Host $host;without recompiling the container?@chaptergy commented on GitHub (Oct 11, 2021):
I don't understand why you have to change
$hostto$http_host, is this something which would have to be changed in general or just for your specific configuration?But you can mount a custom your own
/etc/nginx/conf.d/include/proxy.confinto the container which will then overwrite the existing file inside the container.Though the file has not changed in almost a year, please note that you will also overwrite any updates to this file, so you should have an eye on whether new versions change anything in this file. At least you should keep in mind you overwrite this file if you encounter any problems after updating.