Téléverser les fichiers vers "conf"

This commit is contained in:
Alexandre NOEL 2026-09-03 13:58:28 +02:00
commit 7819b48eff
2 changed files with 25 additions and 0 deletions

12
conf/nginx.conf Normal file
View file

@ -0,0 +1,12 @@
location __PATH__/ {
alias __INSTALL_DIR__/public/;
index index.php;
try_files $uri $uri/ __PATH__/index.php?$query_string;
location ~ /\. { deny all; }
location = __PATH__/index.php {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME __INSTALL_DIR__/public/index.php;
fastcgi_param HTTP_PROXY "";
fastcgi_pass unix:/var/run/php/php8.2-fpm-__APP__.sock;
}
}