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

Update nginx.conf

This commit is contained in:
frju365 2018-03-11 01:59:47 +01:00 committed by GitHub
parent a706e2cfab
commit 91f8385057
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,12 +8,12 @@ location __PATH__ {
}
# Example PHP configuration (remove if not used)
index index.php;
index index.html;
# Common parameter to increase upload size limit in conjuction with dedicated php-fpm file
#client_max_body_size 50M;
try_files $uri $uri/ index.php;
try_files $uri $uri/ index.html;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php5-fpm-__NAME__.sock;