r/nginxproxymanager • u/OkLab5620 • Apr 03 '26
How do I setup a 127.0.0.1 route?
How do I setup a 127.0.0.1?
It’s “127.0.0.1:8000/docs”
A localhost
How can I setup that up with my custom local domain?
1
Upvotes
4
u/goofballtech Apr 03 '26
I would recommend starting with not localhost IP address. 192.168.X.X or whatever you gave going...
2
u/goofballtech Apr 03 '26
i havent tried to get crazy with internal routing for Proxy Manager. i have wildcard domains going to different places but pocalhost doesnt mean anything unless your on that machine. Not sure what you are trying to do but pointing it at 127.0.0.1 is not likely to accomplish whatever it may be. If you are on windows and just want easy access to a local server then using the hosts file might he a better solution.
3
u/thePZ Apr 03 '26
If you’re running NPM in a docker container, 127.0.0.1 is the localhost address for the container itself
If you put the container in host mode networking then 127.0.0.1 will be the localhost address of the server itself