From fc73a2f27aa7c1445eff57bdb6b7c32752b1e809 Mon Sep 17 00:00:00 2001 From: arshamparity <75425316+arshamparity@users.noreply.github.com> Date: Fri, 27 Aug 2021 16:10:16 +0300 Subject: [PATCH] removing the default nginx configuration (#385) * adding values-parity.yaml to the project again * removing the custom values file * replacing the namespace with variable * removing the default configuration for frontend nginx --- frontend/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 867873e..83135af 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -32,7 +32,8 @@ RUN apk add --no-cache bash && \ chown -R nginx:nginx /var/log/nginx && \ chown -R nginx:nginx /etc/nginx/conf.d && \ touch /var/run/nginx.pid && \ - chown -R nginx:nginx /var/run/nginx.pid + chown -R nginx:nginx /var/run/nginx.pid && \ + rm /etc/nginx/conf.d/default.conf # UID= 101 USER nginx