mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #118] Add url path for custom location #104
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#104
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 @jancoow on GitHub (Apr 15, 2019).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/118
Hi there.
I'm trying to add a few custom locations for a specific proxy host. However, I'm unable to get this working with the web interface. It's not possible to add an URL path for the forward host name.
For example: This is the generated proxy pass:
proxy_pass http://192.168.1.2:9005;
However, I need to add a trailing slash:
proxy_pass http://192.168.1.2:9005/;
It works fine when I manually edit the nginx config. But it would be more useful if this can be done from the web UI.
@jlesage commented on GitHub (Apr 15, 2019):
It should work. In the
Forward Hostname / IPfield, set the following value (see the ending slash):@jancoow commented on GitHub (Apr 15, 2019):
@jlesage
That only works when no port is given. Otherwise it will be set to 192.168.1.2/:9005
@jlesage commented on GitHub (Apr 15, 2019):
Make sure to use the latest image version. This has been fixed.
@jancoow commented on GitHub (Apr 15, 2019):
@jlesage
Thanks, that solved the issue.
I pulled the latest version a weeks ago, and was running the image created on 2019-03-05. It should be working in this version, according the change log:
"Also adds sub-folder locations for Proxy Hosts, many thanks to kolbii"
It does work as expecting in the 2019-04-11 version.