Merge pull request #304 from wazuh/fix-302-nginx-pid1

Fix 302 Execute nginx as PID 1
This commit is contained in:
Manuel J. Bernal
2020-02-05 15:53:29 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -16,4 +16,4 @@ VOLUME ["/etc/nginx/conf.d"]
ENV NGINX_NAME="foo" \
NGINX_PWD="bar"
ENTRYPOINT /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]

View File

@@ -75,4 +75,4 @@ server {
}
EOF
nginx -g 'daemon off;'
exec nginx -g 'daemon off;'