[GH-ISSUE #1568] Delete/remove default listen 80/443 entries by server #1185

Closed
opened 2026-02-26 06:36:07 +03:00 by kerem · 4 comments
Owner

Originally created by @vflame on GitHub (Nov 5, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1568

Commenting out listen 80 and listen 443 ssl does not persist/apply when editing /data/nginx/​proxy_host/*.conf

I'm trying to disable port 80/443 for specific servers and exposing alternate ports via the advanced block.

How can this be done?

Originally created by @vflame on GitHub (Nov 5, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1568 Commenting out `listen 80` and `listen 443 ssl` does not persist/apply when editing /data/nginx/​proxy_host/*.conf I'm trying to disable port 80/443 for specific servers and exposing alternate ports via the advanced block. How can this be done?
kerem 2026-02-26 06:36:07 +03:00
Author
Owner

@chaptergy commented on GitHub (Nov 5, 2021):

Using other ports persistently can only be done using stream ports. However ssl encryption is not available for stream hosts, so this is not meant for http traffic.

<!-- gh-comment-id:962075277 --> @chaptergy commented on GitHub (Nov 5, 2021): Using other ports persistently can only be done using stream ports. However ssl encryption is not available for stream hosts, so this is not meant for http traffic.
Author
Owner

@scarab714 commented on GitHub (Dec 22, 2021):

I'm also having this constraint to listen to another port AND having the need to disable 443 and 80 which are listening by default even though i'm setting another port in Advanced tab.

Would it be possible to simply add a field (like the one for Domain Names) in the future release where we can add the listening ports we want?
The redirect http to https, it could be just a switch button with a field where we select to which port we want to redirect if we activate it.

Nginx Proxy Manager team made an incredible work with this beautiful GUI. I'm just lacking one option for this in order to be able to use it :'(

Thanks you very much for your amazing work!

<!-- gh-comment-id:999512458 --> @scarab714 commented on GitHub (Dec 22, 2021): I'm also having this constraint to listen to another port AND having the need to disable 443 and 80 which are listening by default even though i'm setting another port in Advanced tab. Would it be possible to simply add a field (like the one for Domain Names) in the future release where we can add the listening ports we want? The redirect http to https, it could be just a switch button with a field where we select to which port we want to redirect if we activate it. Nginx Proxy Manager team made an incredible work with this beautiful GUI. I'm just lacking one option for this in order to be able to use it :'( Thanks you very much for your amazing work!
Author
Owner

@github-actions[bot] commented on GitHub (Mar 2, 2024):

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

<!-- gh-comment-id:1974181031 --> @github-actions[bot] commented on GitHub (Mar 2, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@github-actions[bot] commented on GitHub (Apr 15, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:2803559448 --> @github-actions[bot] commented on GitHub (Apr 15, 2025): Issue was closed due to inactivity.
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#1185
No description provided.