From 72777a6e458089e43a7c1ee3392411a94aaab3df Mon Sep 17 00:00:00 2001 From: root Date: Tue, 7 Nov 2023 00:19:37 +0200 Subject: [PATCH] 7 --- docker/nginx/scripts/start.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/nginx/scripts/start.sh b/docker/nginx/scripts/start.sh index b6d0a85..74672f1 100755 --- a/docker/nginx/scripts/start.sh +++ b/docker/nginx/scripts/start.sh @@ -4,5 +4,6 @@ DOMAIN="gordi.ngtech.home" bash /gen-self-signed-cert.sh "${DOMAIN}" +stat /var/lib/nginx/html/index.html && rm -vf /var/lib/nginx/html/index.html nginx -T nginx -g 'daemon off;'