nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

Proxy_Pass usage

Open unites opened this issue 2 years ago • 7 comments

Proxy_Pass support in NginxProxyManager. Uncertain if it exists, if not would love to have it added. If it does exist could more info be provided here or in documentation on how Custom Config works in nginx?

Discussed in https://github.com/NginxProxyManager/nginx-proxy-manager/discussions/1954

Originally posted by unites March 25, 2022 Say I want to make a container behind the Nginx Proxy Manager (NPM) a page of another URL. Example would be have a django app at example.com/django while still having my static site container hosting example.com on a different container.

I tried putting this in the "Custom Nginx Configuration" but it seems to throw a 404.

location /django/ {
    proxy_pass http://insternal_app_host:30000/;
}

I am not really clear on what is allowed or not in the Custom Nginx Config. Are there any examples or further documentation on how to use it properly?

unites avatar Mar 30 '22 19:03 unites