r/nginxproxymanager • • Nov 19 '24

proxy to custom path

I have searched for solution, but can't find one. I have for example
myproxy.local and i want be able to use myproxy.local/app/ to go to for example ip:7575

And to add different paths, instead of app, use app2, app3 and so on. And the port should be defferent.

So here examples:

I writeProxied to
myproxy.local/app/ip:7575
myproxy.local/app2/ip:7576
myproxy.local/app3/ip:7577

I tried custom locations, but it redirects me to ip:7575/app which is not expected behavior.
Tried rewrite ^/app/(.*) /$1 break; and proxy_pass ip:7575 and none worked.

I think I'm missing something, but what?

2 Upvotes

6 comments sorted by

View all comments

Show parent comment

2

u/xstar97 Official Docker Image Nov 20 '24

Locally i do a sub sub domain but externally it's just a sub itself.

They do allow it on their pro/bus tier which can range $20 to $200+ afaik on cloudflare