[GH-ISSUE #5266] Redirection Host as Proxy Host root. #3151

Open
opened 2026-02-26 07:37:58 +03:00 by kerem · 0 comments
Owner

Originally created by @LocalBoomer on GitHub (Feb 3, 2026).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/5266

Is your feature request related to a problem? Please describe.

I like to use a (likely) cursed setup where I have a subdomain redirect to a home/landing page but have subpaths of that subdomain proxy to relevant services. e.g:
homepage.mydomain.tld ==> proxy pass to http://homepage:82
arr.mydomain.tld ==> 301 to homepage.mydomain.tld
arr.mydomain.tld/sonarr ==> proxy pass to http://sonarr:8989/sonarr

Currently, I can't do this with NPM.

Describe the solution you'd like

I would like an option to choose one of my redirect hosts as the 'main' host for a Proxy Host. This would allow me normal access to the Custom Locations and Redirects features without having to use any custom nginx configuration. Would also save me having to set up weird 'null' arrangements like having the root subdomain point to http://null:404 making things more confusing when trying to see what does what at a glance.

Describe alternatives you've considered

Currently, this result (my cursed pathing setup) can be achieved in NPM by using a combination of null routes and custom nginx configuration in a normal proxy host. But, this removes the primary (at least for me) benefits of NPM - those being ease of setup (no need for custom nginx config/formatting) and clarity of information.

Originally created by @LocalBoomer on GitHub (Feb 3, 2026). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/5266 <!-- Are you in the right place? - If you are looking for support on how to get your upstream server forwarding, please consider asking the community on Reddit. - If you are writing code changes to contribute and need to ask about the internals of the software, Gitter is the best place to ask. - If you think you found a bug with NPM (not Nginx, or your upstream server or MySql) then you are in the *right place.* --> **Is your feature request related to a problem? Please describe.** <!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] --> I like to use a (likely) cursed setup where I have a subdomain redirect to a home/landing page but have subpaths of that subdomain proxy to relevant services. e.g: `homepage.mydomain.tld` ==> proxy pass to `http://homepage:82` `arr.mydomain.tld` ==> 301 to `homepage.mydomain.tld` `arr.mydomain.tld/sonarr` ==> proxy pass to `http://sonarr:8989/sonarr` Currently, I can't do this with NPM. **Describe the solution you'd like** <!-- A clear and concise description of what you want to happen. --> I would like an option to choose one of my redirect hosts as the 'main' host for a Proxy Host. This would allow me normal access to the Custom Locations and Redirects features without having to use any custom nginx configuration. Would also save me having to set up weird 'null' arrangements like having the root subdomain point to `http://null:404` making things more confusing when trying to see what does what at a glance. **Describe alternatives you've considered** <!-- A clear and concise description of any alternative solutions or features you've considered. --> Currently, this result (my cursed pathing setup) can be achieved in NPM by using a combination of null routes and custom nginx configuration in a normal proxy host. But, this removes the primary (at least for me) benefits of NPM - those being ease of setup (no need for custom nginx config/formatting) and clarity of information.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#3151
No description provided.