From 44bb5f19d32a0df80946239e786767c9a0362c47 Mon Sep 17 00:00:00 2001 From: Ylies Chahi Date: Wed, 9 Aug 2017 18:20:55 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 6088896..f662c14 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,9 +1,8 @@ -root /var/www/pelican/output/; - location {LOCATION} { - alias {DESTDIR}/output; + alias {DESTDIR}/output/; index index.html + if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; }