mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #1027] Custom location #864
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#864
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 @EvertJob on GitHub (Apr 18, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1027
Hi,
Maybe someone can help me.
I'm running Nginx Proxy and it works fine. The only problem: I'm running Pi-Hole on port 82 and I cannot get it working.
The URL I need to use for the admin is: http://192.168.1.254:82/admin. I would like to connect to pihole.domain.ext.
I've tried everything as far as I can see, can someone help me?
@dgsharpe commented on GitHub (Apr 19, 2021):
Check out these instructions posted by @jc21 in #104 and make sure you've followed them exactly:
In particular, it looks like you might have not included the trailing slash in step 3.
However, this Github issues page isn't really for community support, it's for reporting bugs - if you're looking for assistance with your setup, you'll be better off checking out the Reddit community.
@3Dscrewer commented on GitHub (Apr 20, 2021):
That’s not a bug, that happens not reading the manuals. The use of custom location is totally wrong. The custom location is needed if your pi-hole is in a subfolder. For example Tomcat war container. The standard installation is not. You have simply to use the IP, I guess raspberry, and the port. You must see a page like the picture, click at the blue colored sentence and you’re ready
Edit: Since pi-hole is normal for internal use, activate „Block common Exploits“ for a little bit security.
Last Edit: to go direct to admin page is a look like this. http://192.xxx.xxx.xxx:82/admin/
If you’re setup is working, use in browser http://your.domain.tld/admin/ and save as bookmark
@3Dscrewer commented on GitHub (Apr 21, 2021):
@EvertJob Sorry for that reading the manual, but Google is still your friend. I don’t use Pi-Hole over the Net, but I’m interested in this case.
So the path to the admin page is /var/www/html/admin. So the custom path is /html/admin/ because in /html is only the landing page like picture above.
The Web access doesn’t work at all, because Pi-hole is refusing the access. It is showing that picture, ok, whitelist and again, no access.
And here comes Google.
https://docs.pi-hole.net/guides/webserver/nginx/
So one possible way .... I didn’t try, because I don’t need that.
at /root/npm/data/nginx/proxy_host/ you will find
1.conf
2.conf
depending how many domains you have.
There you must find your domain, it is mentioned at the Top.
Copy necessary parts of the Pi-Hole site into that x.conf and it should work ... I guess 😉
Sorry for that, but is a security reason by Pi-hole.
@EvertJob commented on GitHub (Apr 21, 2021):
@3Dscrewer Thanks. But the issue is now fixed. The last / was missing.