mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #3131] Having issues migrating functional nginx config into Nginx Proxy Manager #2123
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#2123
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 @miversen33 on GitHub (Aug 15, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3131
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
I have the following location defined in an
nginx.confwhich functions exactly as expectedI figured it would be as easy as adding a new proxy host in Nginx Proxy Manager, adding the
/portainer/location and setting the various proxy_header variables in theadvancedsection of the location. However, when I add literally any of theproxy_set_headerlines above, the location throws a 400. I cannot see anything really "useful" in the container logs for nginx-proxy-manager.Am I missing something?
Nginx Proxy Manager Version
v2.10.4
To Reproduce
Steps to reproduce the behavior:
proxy_set_header X-Real-IP $remote_addr;(for example) to the advanced section of the locationExpected behavior
I would expect the
proxy_set_headervalues to be respected. Additionally, if there is a configuration error occurring, some form of notification seems like a plusScreenshots
I can provide these if needed
Operating System
Additional context
Running under compose using the following docker compose script
The only thing any of the log files emits on save is
And on hitting the created endpoint, the following 2 things are logged (along with lots of repeated 500s of trying to get the favicon)
@miversen33 commented on GitHub (Sep 1, 2023):
Is there more information that I need to provide to get some kind of feedback about what I may be doing incorrectly here?
@edsonsbj commented on GitHub (Oct 9, 2023):
It's simpler than you think, you just need to add a new location in custom locations in the location field /portainer/ and in the Forward Hostname / IP* fieldyour ip followed by / and the port number.
Because nginx itself already does the rest when saving the configuration
@github-actions[bot] commented on GitHub (Jun 1, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (Jun 5, 2025):
Issue was closed due to inactivity.