mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
14 lines
362 B
Nginx Configuration File
14 lines
362 B
Nginx Configuration File
root /var/www/bookstack/public;
|
|
index index.php index.html;
|
|
|
|
location __PATH__/ {
|
|
try_files $uri $uri/ /index.php?$query_string;
|
|
}
|
|
|
|
location ~ \.php$ {
|
|
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;
|
|
}
|