From 29b186287273cf7489a1ee95550c2857299a2aa9 Mon Sep 17 00:00:00 2001 From: casjay Date: Wed, 19 Oct 2022 18:11:23 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rootfs/usr/local/bin/start-nginx.sh | 2 +- rootfs/usr/local/share/template-files/config/nginx/nginx.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/rootfs/usr/local/bin/start-nginx.sh b/rootfs/usr/local/bin/start-nginx.sh index e0fb1b2..5531f8d 100755 --- a/rootfs/usr/local/bin/start-nginx.sh +++ b/rootfs/usr/local/bin/start-nginx.sh @@ -72,7 +72,7 @@ CONTAINER_IP_ADDRESS="$(ip a 2>/dev/null | grep 'inet' | grep -v '127.0.0.1' | a # Overwrite variables SERVICE_PORT="6800" SERVICE_NAME="nginx" -SERVICE_COMMAND="nginx -g 'daemon off;' -c /etc/nginx/nginx.conf" +SERVICE_COMMAND="nginx -c /etc/nginx/nginx.conf" export exec_message="Starting $SERVICE_NAME on $CONTAINER_IP_ADDRESS:$SERVICE_PORT" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Pre copy commands diff --git a/rootfs/usr/local/share/template-files/config/nginx/nginx.conf b/rootfs/usr/local/share/template-files/config/nginx/nginx.conf index b514869..2eb074e 100644 --- a/rootfs/usr/local/share/template-files/config/nginx/nginx.conf +++ b/rootfs/usr/local/share/template-files/config/nginx/nginx.conf @@ -1,6 +1,7 @@ # Default nginx configuration user root; worker_processes 1; +daemon off; error_log /proc/self/fd/2 error; pid /var/run/nginx.pid;