From e7b4b23e2a8f9542b456ec8aba8b07198e0244d3 Mon Sep 17 00:00:00 2001 From: frju365 Date: Sat, 5 Jan 2019 18:43:24 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 707de22..ec41108 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,7 +1,7 @@ -root /arv/pufferpanel/public/; +root /srv/pufferpanel/public/; index index.php; -location / { +location ^~ __PATH__/ { try_files /public/router.php =404; fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass ${phpSocket}; @@ -10,6 +10,6 @@ location / { include /etc/nginx/fastcgi_params; } -location /assets { +location __PATH__/assets { try_files /app/\$uri =404; }