1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pelican_ynh.git synced 2024-09-03 19:46:35 +02:00

Update nginx.conf

This commit is contained in:
Ylies Chahi 2017-08-09 02:40:15 +02:00 committed by GitHub
parent 3c49a2953c
commit f73de5cbb5

View file

@ -3,6 +3,7 @@ root /var/www/pelican/output/;
location {LOCATION} { location {LOCATION} {
alias {DESTDIR}/output; alias {DESTDIR}/output;
index index.html
if ($scheme = http) { if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent; rewrite ^ https://$server_name$request_uri? permanent;
} }