Update nixpacks.toml (#38)

This commit is contained in:
🏔️ Peak
2025-01-24 13:40:20 +01:00
committed by GitHub
parent ec154ba0c3
commit 3b85d30155

View File

@@ -143,16 +143,9 @@ http {
charset utf-8;
$if(NIXPACKS_PHP_FALLBACK_PATH) (
location / {
try_files $uri $uri/ ${NIXPACKS_PHP_FALLBACK_PATH}?$query_string;
}
) else (
location / {
try_files $uri $uri/ /index.php?$query_string;
}
)
location / {
try_files $uri $uri/ ${NIXPACKS_PHP_FALLBACK_PATH:-/index.php}?$query_string;
}
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }