1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

[fix] Correct alias in nginx.conf for installation at root domain

This commit is contained in:
Jérôme Lebleu 2016-05-14 22:01:28 +02:00
parent d37d87fdeb
commit 285a1c3eec

View file

@ -1,5 +1,5 @@
location #LOCATION# { location #LOCATION# {
alias #DESTDIR#; alias #DESTDIR#/;
if ($scheme = http) { if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent; rewrite ^ https://$server_name$request_uri? permanent;