1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/opensondage_ynh.git synced 2024-09-03 19:46:28 +02:00

Update nginx.conf

This commit is contained in:
Éric Gaspar 2023-05-19 15:06:49 +02:00
parent 7ae2c3ad13
commit 05d223ca39

View file

@ -15,7 +15,8 @@ location __PATH__/ {
index index.php; index index.php;
try_files $uri $uri/ /index.php; try_files $uri $uri/ __PATH__/index.php;
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;