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

Update nginx.conf

This commit is contained in:
frju365 2017-02-01 20:15:19 +01:00 committed by GitHub
parent cbbeb29334
commit b538d57335

View file

@ -1,16 +1,13 @@
location ^~ YNH_WWW_PATH {
root /var/www;
alias YNH_WWW_ALIASwww/ ;
try_files $uri $uri/ /YNH_WWW_APP/index.php?$query_string;
index /YNH_WWW_APP/index.php;
location ~* \.php$ {
fastcgi_split_path_info ^(.+.php)(/.+)$;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTP_PROXY ""; # Fix for https://httpoxy.org/ vulnerability
fastcgi_index yellow.php;
fastcgi_read_timeout 600;
include fastcgi_params;
}
location ~* \.html$ {