From f73de5cbb5c76724c212cdded39226568fabb9f5 Mon Sep 17 00:00:00 2001 From: Ylies Chahi Date: Wed, 9 Aug 2017 02:40:15 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index a369d13..6088896 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,6 +3,7 @@ root /var/www/pelican/output/; location {LOCATION} { alias {DESTDIR}/output; + index index.html if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; }