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

Update nginx.conf

This commit is contained in:
frju365 2019-01-05 18:43:24 +01:00 committed by GitHub
parent e85f16826c
commit e7b4b23e2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
root /arv/pufferpanel/public/; root /srv/pufferpanel/public/;
index index.php; index index.php;
location / { 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 ${phpSocket};
@ -10,6 +10,6 @@ location / {
include /etc/nginx/fastcgi_params; include /etc/nginx/fastcgi_params;
} }
location /assets { location __PATH__/assets {
try_files /app/\$uri =404; try_files /app/\$uri =404;
} }