mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
Update nginx.conf
This commit is contained in:
parent
79c38193a9
commit
28a3ae828a
1 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
# Force usage of https
|
||||||
|
if ($scheme = http) {
|
||||||
|
rewrite ^ https://$server_name$request_uri? permanent;
|
||||||
|
}
|
||||||
|
|
||||||
root /var/www/bookstack/public;
|
root /var/www/bookstack/public;
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue