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; }