always redirect to https

This commit is contained in:
nd 2020-10-18 19:00:39 +02:00
parent 78de59fbfe
commit 0b012271ca
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9

View file

@ -19,10 +19,10 @@ server {
allow all; allow all;
} }
location = /.well-known/carddav { location = /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav; return 301 https://$host/remote.php/dav;
} }
location = /.well-known/caldav { location = /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav; return 301 https://$host/remote.php/dav;
} }
location / { location / {