diff --git a/nginx.template.conf b/nginx.template.conf index 9301095..97f4357 100644 --- a/nginx.template.conf +++ b/nginx.template.conf @@ -29,11 +29,7 @@ http { listen [::]:${PORT}; server_name localhost; - $if(NIXPACKS_PHP_ROOT_DIR) ( - root ${NIXPACKS_PHP_ROOT_DIR}; - ) else ( - root /app; - ) + root /app; # Block access to hidden files and directories location ~ /\. { deny all;