mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 01:15:51 +03:00
[GH-ISSUE #4716] _locations.conf missing jinja2 variables? #2995
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#2995
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 @Oratorian on GitHub (Aug 18, 2025).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4716
I ran into a wierd problem with custom location.
my webapp runs its own location like /login
so for npm to forward that corretly you need to set location to /help/ and
proxy_pass ip:port/;trailing slash is importantthen i stumbled upton the templates folder and _locations.conf uses
proxy_pass {{ forward_scheme }}://{{ forward_host }}:{{ forward_port }}{{ forward_path }};but {{ forward_path }} is nerver set anywhere so the final proxy_pass in nginxs .conf always ends in
proxy_pass http(s)://ip:port;and missing the trailing slash.@github-actions[bot] commented on GitHub (Feb 25, 2026):
Issue is now considered stale. If you want to keep it open, please comment 👍