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:
parent
e85f16826c
commit
e7b4b23e2a
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue