From 7999f1f162d3c3483d5784f4a380834f432fefef Mon Sep 17 00:00:00 2001 From: mghilardelli Date: Wed, 5 Jun 2024 14:31:31 +0200 Subject: [PATCH] ci: nginx-conf --- webapp/Dockerfile | 2 +- webapp/docker/nginx-angular.conf | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/webapp/Dockerfile b/webapp/Dockerfile index 2156ba57..cdd36a45 100644 --- a/webapp/Dockerfile +++ b/webapp/Dockerfile @@ -14,7 +14,7 @@ ADD --chmod=755 https://github.com/kyubisation/angular-server-side-configuration ADD --chmod=755 docker/99-ngssc.sh /docker-entrypoint.d/ # Add nginx configuration -#ADD docker/nginx-angular.conf /etc/nginx/conf.d/default.conf +ADD docker/nginx-angular.conf /etc/nginx/conf.d/default.conf # copy built application from build stage COPY --from=build --chown=nginx:nginx --chmod=755 /build/dist/webapp /usr/share/nginx/html diff --git a/webapp/docker/nginx-angular.conf b/webapp/docker/nginx-angular.conf index d30411bc..7d515a9a 100644 --- a/webapp/docker/nginx-angular.conf +++ b/webapp/docker/nginx-angular.conf @@ -1,3 +1,5 @@ +pid /tmp/nginx.pid; + server { listen 4200; server_name localhost;