1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shuri_ynh.git synced 2024-09-03 20:16:20 +02:00

Update nginx.conf

This commit is contained in:
frju365 2018-10-28 21:15:27 +01:00 committed by GitHub
parent 692fecea5e
commit 9597542b6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ location YNH_WWW_PATH {
try_files $uri $uri/ index.php; try_files $uri $uri/ index.php;
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
fastcgi_index index.php; fastcgi_index index.php;
include fastcgi_params; include fastcgi_params;
fastcgi_param REMOTE_USER $remote_user; fastcgi_param REMOTE_USER $remote_user;