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

Merge pull request #5 from ABLD/master

Update nginx.conf
This commit is contained in:
liberodark 2019-01-05 18:50:13 +01:00 committed by GitHub
commit 137a20fdd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ index index.php;
location ^~ __PATH__/ { location ^~ __PATH__/ {
try_files /public/router.php =404; try_files /public/router.php =404;
fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass ${phpSocket}; fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
fastcgi_index router.php; fastcgi_index router.php;
fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
include /etc/nginx/fastcgi_params; include /etc/nginx/fastcgi_params;