[GH-ISSUE #369] Before separation by domain and forwarding #314

Closed
opened 2026-02-26 06:32:13 +03:00 by kerem · 1 comment
Owner

Originally created by @FantaBlueMystery on GitHub (Apr 14, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/369

Is it possible to split port 443 and port 80 between two domains?
Domain a) will be forwarded internally to the NPM as usual
Domain b) is forwarded to another Nginx proxy

The background would be that mail.domain.com can pick up its own LetsEncrypt certificate with its nginx and acts as a proxy itself.

Originally created by @FantaBlueMystery on GitHub (Apr 14, 2020). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/369 Is it possible to split port 443 and port 80 between two domains? Domain a) will be forwarded internally to the NPM as usual Domain b) is forwarded to another Nginx proxy The background would be that mail.domain.com can pick up its own LetsEncrypt certificate with its nginx and acts as a proxy itself.
kerem 2026-02-26 06:32:13 +03:00
Author
Owner

@chaptergy commented on GitHub (May 11, 2021):

It's not really clear what you mean. But as I understand correctly you want to run two services on you device, one of them being NPM. Then port 80 on your machine is forwarded to NPM and port 443 to some other program? You can just remove the 443 port mapping from the docker-compose file and use that port in another program. That way NPM will only be accessible through port 80.

<!-- gh-comment-id:839142901 --> @chaptergy commented on GitHub (May 11, 2021): It's not really clear what you mean. But as I understand correctly you want to run two services on you device, one of them being NPM. Then port 80 on your machine is forwarded to NPM and port 443 to some other program? You can just remove the `443` port mapping from the docker-compose file and use that port in another program. That way NPM will only be accessible through port 80.
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#314
No description provided.