From f177e82db6bd26c944476e71f9b0163806c65c01 Mon Sep 17 00:00:00 2001 From: William Miceli Date: Fri, 3 Jan 2020 19:18:47 -0500 Subject: [PATCH] Fix nginx not being able to save PID to default location --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 8bfefa2..aaf9f4c 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,4 +4,4 @@ echo "[ INFO ] Starting PHP Service" rc-service php-fpm7 start echo "[ INFO ] Starting nginx" -nginx -g "daemon off;" # Foreground +nginx -g "pid /tmp/nginx.pid; daemon off;" # Foreground