mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 07:22:34 +00:00
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
13 lines
348 B
PHP
13 lines
348 B
PHP
#[php]
|
|
root * {{ $site->getWebDirectoryPath() }}
|
|
@php
|
|
$phpSocket = "unix//var/run/php/php{$site->php_version}-fpm.sock";
|
|
if ($site->isIsolated()) {
|
|
$phpSocket = "unix//run/php/php{$site->php_version}-fpm-{$site->user}.sock";
|
|
}
|
|
@endphp
|
|
try_files {path} {path}/ /index.php?{query}
|
|
php_fastcgi {{ $phpSocket }}
|
|
file_server
|
|
#[/php]
|