2025-03-04 16:39:42 +01:00
|
|
|
location / {
|
|
|
|
root __INSTALL_DIR__/public;
|
|
|
|
try_files $uri $uri/ /index.php?$query_string;
|
2025-03-04 16:13:04 +01:00
|
|
|
index index.html index.htm index.php;
|
2025-03-04 16:39:42 +01:00
|
|
|
}
|
2025-03-04 16:13:04 +01:00
|
|
|
|
|
|
|
|
2025-03-04 16:39:42 +01:00
|
|
|
location ~ \.php$ {
|
|
|
|
root __INSTALL_DIR__/public;
|
|
|
|
index index.html index.htm index.php;
|
|
|
|
fastcgi_pass unix:/var/run/php__PHP_VERSION__-fpm.sock;
|
|
|
|
fastcgi_index index.php;
|
|
|
|
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
|
|
|
include fastcgi_params;
|
|
|
|
}
|
2025-03-04 16:13:04 +01:00
|
|
|
|
2025-03-04 16:39:42 +01:00
|
|
|
location ~ /\.(?!well-known).* {
|
|
|
|
deny all;
|
2025-03-01 09:17:43 +01:00
|
|
|
}
|
2025-03-04 16:39:42 +01:00
|
|
|
|