diff --git a/nginx/bookstack.auxilife.eu b/nginx/bookstack.auxilife.eu index 9caae09..10bcb8f 100644 --- a/nginx/bookstack.auxilife.eu +++ b/nginx/bookstack.auxilife.eu @@ -11,8 +11,13 @@ server { if ($host = bookstack.auxilife.eu) { - - listen 80; + return 301 https://$host$request_uri; } -} \ No newline at end of file + + server_name bookstack.auxilife.eu; + listen 80; + } + + +