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

Update nginx.conf

This commit is contained in:
ericgaspar 2020-11-24 19:04:11 +01:00
parent a874f9fff3
commit f66800e009
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -12,13 +12,15 @@ location __PATH__/ {
index index.html index.php; index index.html index.php;
try_files $uri $uri/ /index.php?q=$uri&$args; try_files $uri $uri/ /index.php?q=$uri&$args;
location ~ index\.php$ { location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(index.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;
fastcgi_index index.php; fastcgi_index index.php;
include fastcgi_params; fastcgi_param REMOTE_USER $remote_user;
fastcgi_param PATH_INFO $fastcgi_path_info;
include fastcgi_params;
} }
# Include SSOWAT user panel. # Include SSOWAT user panel.