mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 13:28:57 +00:00
Update nixpacks.toml
This commit is contained in:
@@ -143,16 +143,15 @@ http {
|
|||||||
|
|
||||||
charset utf-8;
|
charset utf-8;
|
||||||
|
|
||||||
$if(IS_LARAVEL) (
|
|
||||||
|
$if(NIXPACKS_PHP_FALLBACK_PATH) (
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.php?$query_string;
|
try_files $uri $uri/ ${NIXPACKS_PHP_FALLBACK_PATH}?$query_string;
|
||||||
}
|
}
|
||||||
) else (
|
) else (
|
||||||
$if(NIXPACKS_PHP_FALLBACK_PATH) (
|
location / {
|
||||||
location / {
|
try_files $uri $uri/ /index.php?$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; }
|
location = /favicon.ico { access_log off; log_not_found off; }
|
||||||
|
|||||||
Reference in New Issue
Block a user