NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
23.27k stars 2.7k forks source link

Fix Container Bootloop if Stream is used for http/https ports #4163

Open Jasparigus opened 1 week ago

Jasparigus commented 1 week ago

There is no way to disable the default site, and therefore no way to disable listening on port 80/443. If a stream is created for port 80 then the container will bootloop without an easy path to recovery due to duplicate ports in use.

Unless we can disable the default site, ie "stream only" mode for NGINX, we should not allow these ports to be set.

nginxproxymanagerci[bot] commented 1 week ago

Docker Image for build 1 is available on DockerHub as nginxproxymanager/nginx-proxy-manager-dev:pr-4163

Note: ensure you backup your NPM instance before testing this image! Especially if there are database changes Note: this is a different docker image namespace than the official image