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

Updated nginx.conf

This commit is contained in:
Steven Roose 2015-08-29 02:30:09 +02:00
parent b2233fac5d
commit 7ac0f33801

View file

@ -5,12 +5,14 @@ location LOCATIONTOCHANGE {
index index.php index.html index.htm; index index.php index.html index.htm;
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/php5-fpm.sock;
fastcgi_index index.php; fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params; include fastcgi_params;
fastcgi_param REMOTE_USER $remote_user;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $request_filename;
} }