Update nixpacks.toml

This commit is contained in:
Andras Bacsai
2025-01-22 14:29:22 +01:00
committed by GitHub
parent 07d07bae09
commit a6c280de88

View File

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