From 20a4edbaea8cd8713c85c8a72ae33a78a83083b2 Mon Sep 17 00:00:00 2001 From: pblonde Date: Fri, 17 Jul 2020 12:58:57 +0000 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'nginx/bookstack.au?= =?UTF-8?q?xilife.eu'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx/bookstack.auxilife.eu | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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; + } + + +