Skip to content

Enabling traffic towards multiple proxy hosts domains with the same name, but listening on different ports #3927

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
StoicaTudor opened this issue Aug 12, 2024 · 3 comments

Comments

@StoicaTudor
Copy link

I have a privately hosted domain abc.com. I would like to be able to create multiple proxy hosts domains with the same name, but listening on different ports (for http and also https connections). This comes in handy, when you do only have 1 domain on which you would like to access several ports (both http and https).

What I would like within this feature:
-> to be able to configure multiple proxy hosts with the same domain name and be able to specify several ports for that specific domain which are either listening for http or https connection.
Example:
proxy host0: abc.com, listening for http on port 8005, 8006, 8007 and for https on 8008 and 8009 -> redirects traffic to localhost:8010
proxy host1: abc.com, listening for http on port 8100 and for https on 8200 -> redirects traffic to localhost:8011

Alternatives I considered, but are impossible, because of how NPM is built: manually modifying the .conf files. Not possible, because even slightly editing a proxy host leads to the automated rewriting of the .conf file.

Additional context: I tried manually modifying the .conf file, but they do rapidly get overwritten, when performing additional settings in the app. The NPM section which manually permits you to write Nginx configurations does not help, due to the fact that I do need to actually delete the "listen 80" and "listen 443 ssl httpd" lines. Currently, NPM does not allow that. I would like the NPM to be more customizable, because it is such a great tool...it's a shame.

@StoicaTudor
Copy link
Author

Should there be a work-around for my problem, please enlighten me. However, I hardly believe there is one; the internet says there is none.

@641i130
Copy link

641i130 commented Oct 6, 2024

I would also like this. Confused that this may not work anymore...?
https://www.reddit.com/r/homelab/comments/16ftare/nginx_proxy_manager_using_multiple_listen_ports/

Copy link

Issue is now considered stale. If you want to keep it open, please comment 👍

@github-actions github-actions bot added the stale label May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy