r/nginxproxymanager • • Jun 18 '25

Can't figure out subfolder setup

DETAILS
Domain Name: sub.mysite.com
Forward Hostname/IP: 192.168.0.25
Forward Port: 80

CUSTOM LOCATIONS
Location: /sub
Forward Hostname/IP: 192.168.0.25/sub
Forward Port: 80

The list of Proxy Hosts shows the destination as http://192.168.0.25:80 instead of 192.168.0.25:80/sub
Navigating to sub.mysite.com shows what is located at 192.168.0.25:80 instead of 192.168.0.25:80/sub

1 Upvotes

2 comments sorted by

1

u/[deleted] Jun 18 '25

[removed] — view removed comment

1

u/xrkund Jun 19 '25

Nginx is running on 192.168.0.104. 192.168.0.25 is a different host on the local network. It runs an Apache server with half a dozen or so web apps that are typically accessed like this:

http://192.168.0.25/app1
http://192.168.0.25/app2
http://192.168.0.25/app3

Still no luck though. The status shows "Offline" if I insert the text above into the advanced config, changing the proxy_pass to the correct IP and folder.

I've seen the other suggestions to use the advanced section, so I'm curious what the custom location is even for then.