diff --git a/nginx-pwa/etc/nginx/entrypoint.d/90-envsubst-on-config-js.sh b/nginx-pwa/etc/nginx/entrypoint.d/90-envsubst-on-config-js.sh index 94f95b7..d54d37f 100755 --- a/nginx-pwa/etc/nginx/entrypoint.d/90-envsubst-on-config-js.sh +++ b/nginx-pwa/etc/nginx/entrypoint.d/90-envsubst-on-config-js.sh @@ -6,7 +6,7 @@ set -e ME=$(basename $0) test -z "$NGINX_CONFIG_JS_PATH" && exit 0 -test ! -f "$NGINX_CONFIG_JS_PATH" && exit 0 +test ! -f "$NGINX_CONFIG_JS_PATH" && exit 1 definedEnvs=$(printf '${%s} ' $(env | cut -d= -f1)) if [ ! -w "$NGINX_CONFIG_JS_PATH" ]; then