From e7a5088b97dc121e3caf8f2ce4b6b93878b97939 Mon Sep 17 00:00:00 2001 From: xuewenG Date: Fri, 10 Mar 2023 10:53:21 +0800 Subject: [PATCH] Make nginx to be process 1 to accept SIGTERM signal (#746) --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 68ae7b1..b550fde 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -1,3 +1,3 @@ #!/bin/sh sed -i "s|http://127.0.0.1:9090|$YACD_DEFAULT_BACKEND|" /usr/share/nginx/html/index.html -nginx -g "daemon off;" +exec nginx -g "daemon off;"