From ca48b5000b928d36c161c51f6262350fe1dcf254 Mon Sep 17 00:00:00 2001 From: Brendan Early Date: May 18 2021 21:53:47 +0000 Subject: use unprivileged port for nginx --- diff --git a/Dockerfile b/Dockerfile index ab948c7..9b575e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,6 +41,6 @@ COPY container/supervisord.conf /etc/supervisord.conf # one container that manages static files # and just serve from the rest with read-only mounts VOLUME /srv/packages -EXPOSE 80 +EXPOSE 8080 ENTRYPOINT [ "./container/entrypoint.sh" ] diff --git a/container/nginx.conf b/container/nginx.conf index cef20de..aaba6dd 100644 --- a/container/nginx.conf +++ b/container/nginx.conf @@ -33,8 +33,8 @@ http { include /etc/nginx/conf.d/*.conf; server { - listen 80; - listen [::]:80; + listen 8080; + listen [::]:8080; server_name _; root /srv/packages;