mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
fix
This commit is contained in:
parent
c923cc2a27
commit
f174ee7513
1 changed files with 10 additions and 14 deletions
|
@ -1,18 +1,14 @@
|
||||||
root /srv/pufferpanel/;
|
root /var/www/bookstack/public;
|
||||||
index index.php;
|
index index.php index.html;
|
||||||
|
|
||||||
client_max_body_size 20m;
|
|
||||||
client_body_timeout 120s;
|
|
||||||
|
|
||||||
location __PATH__/ {
|
location __PATH__/ {
|
||||||
try_files /public/router.php =404;
|
try_files $uri $uri/ /index.php?$query_string;
|
||||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
|
||||||
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
|
|
||||||
fastcgi_index router.php;
|
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
||||||
include /etc/nginx/fastcgi_params;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location __PATH__/app/assets {
|
location ~ \.php$ {
|
||||||
try_files /app/\$uri =404;
|
fastcgi_index index.php;
|
||||||
|
try_files $uri =404;
|
||||||
|
include fastcgi_params;
|
||||||
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
|
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue