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;'