mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #162] Reverse proxy to url (for example Nextcloud and pihole) #142
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#142
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 @geelenbert on GitHub (Jun 13, 2019).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/162
For some services i like to do reverse proxy not just to an IP and Port, but also to an additional path.
For example:
Pihole uses http://192.168.1.100/admin
Nextcloud used http://192.168.1.101/nextcloud
I would like to connect from https://pihole.domain.com and https://cloud.domain.com
my nginx configs looks like this:
proxy_pass http://192.168.1.100/admin/proxy_pass http://192.168.1.101/nextcloud/This works perfect.
proxy to the ip and port forks fine, just not adding the extra admin or nextcloud.
@etricky commented on GitHub (Aug 29, 2019):
+1
@modem7 commented on GitHub (Feb 4, 2020):
+1 also
@geelenbert Did you ever manage to get pihole working nicely with Nginx Proxy Manager at all? Even with a workaround?
@adamgreenberg07 commented on GitHub (Nov 8, 2020):
Any chance this has been solved. I'd like to access my pihole from a subdomain address and can't figure out how to configure the NPM to accomplish this. Does anyone have this working?
@5H3RM commented on GitHub (Jan 31, 2021):
I am having trouble with this as well but I have PiHole running on a different machine, I did find a work around is add the proxy then type the path manually ie. pihole.example.com/admin. I did thought NPM did have this built in (custom location?) but I wonder if it not working or if I'm using it incorrectly, my bet is the latter.
@chaptergy commented on GitHub (May 10, 2021):
Yes, this works. When add a proxy host as usual without any path, then go to the Custom Locations tab, and add a location
/with your ip + path int the Forward Hostname / IP. But do this at your own risk, since this will most likely lead to broken links on whatever page you forward this to.