mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
Merge 9e09e9f8c9 into 201998638a
This commit is contained in:
commit
16dbc9ca73
1 changed files with 4 additions and 1 deletions
|
|
@ -2273,7 +2273,10 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue
|
|||
$is_laravel = data_get($parsed, 'variables.IS_LARAVEL', false);
|
||||
if ($is_laravel) {
|
||||
$variables = $this->laravel_finetunes();
|
||||
data_set($parsed, 'variables.NIXPACKS_PHP_FALLBACK_PATH', $variables[0]->value);
|
||||
// Fix #7867: Do NOT set NIXPACKS_PHP_FALLBACK_PATH for Laravel apps.
|
||||
// When IS_LARAVEL=true, Nixpacks nginx template already creates "location /" block.
|
||||
// Setting NIXPACKS_PHP_FALLBACK_PATH would create a duplicate, causing nginx to fail.
|
||||
// data_set($parsed, 'variables.NIXPACKS_PHP_FALLBACK_PATH', $variables[0]->value);
|
||||
data_set($parsed, 'variables.NIXPACKS_PHP_ROOT_DIR', $variables[1]->value);
|
||||
}
|
||||
if ($this->nixpacks_type === 'elixir') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue