Update nixpacks.toml

This commit is contained in:
Andras Bacsai
2025-01-22 14:32:16 +01:00
committed by GitHub
parent a6c280de88
commit 5495e30777

View File

@@ -144,11 +144,15 @@ http {
charset utf-8;
$if(IS_LARAVEL) (
location / {
try_files $uri $uri/ /index.php?$query_string;
}
) else (
$if(NIXPACKS_PHP_FALLBACK_PATH) (
location / {
try_files $uri $uri/ ${NIXPACKS_PHP_FALLBACK_PATH}?$query_string;
try_files $uri $uri/ ${NIXPACKS_PHP_FALLBACK_PATH:-/index.php}?$query_string;
}
)
) else ()
)
location = /favicon.ico { access_log off; log_not_found off; }