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:
parent
f73de5cbb5
commit
44bb5f19d3
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue