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 18:20:55 +02:00 committed by GitHub
parent f73de5cbb5
commit 44bb5f19d3

View file

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