Update start_nginx.sh
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
#/bin/bash
|
#/bin/bash
|
||||||
|
|
||||||
|
chown :root -R /execute/db
|
||||||
chmod g+w -R /execute/db
|
chmod g+w -R /execute/db
|
||||||
envsubst '$NGINX_PORT' < /tmp/nginx.conf > /etc/nginx/nginx.conf
|
envsubst '$NGINX_PORT' < /tmp/nginx.conf > /etc/nginx/nginx.conf
|
||||||
/usr/sbin/nginx -g "daemon off;" || exit 1
|
/usr/sbin/nginx -g "daemon off;" || exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user