diff --git a/docker/main/rootfs/usr/local/nginx/templates/listen.gotmpl b/docker/main/rootfs/usr/local/nginx/templates/listen.gotmpl index 83f13b756..093d5f68e 100644 --- a/docker/main/rootfs/usr/local/nginx/templates/listen.gotmpl +++ b/docker/main/rootfs/usr/local/nginx/templates/listen.gotmpl @@ -1,3 +1,6 @@ +# intended for internal traffic, not protected by auth +listen 5000; + {{ if not .enabled }} # intended for external traffic, protected by auth listen 8971; @@ -5,9 +8,6 @@ listen 8971; # intended for external traffic, protected by auth listen 8971 ssl; -# intended for internal traffic, not protected by auth -listen 5000; - ssl_certificate /etc/letsencrypt/live/frigate/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/frigate/privkey.pem;