always redirect to https
This commit is contained in:
parent
78de59fbfe
commit
0b012271ca
1 changed files with 2 additions and 2 deletions
|
|
@ -19,10 +19,10 @@ server {
|
|||
allow all;
|
||||
}
|
||||
location = /.well-known/carddav {
|
||||
return 301 $scheme://$host/remote.php/dav;
|
||||
return 301 https://$host/remote.php/dav;
|
||||
}
|
||||
location = /.well-known/caldav {
|
||||
return 301 $scheme://$host/remote.php/dav;
|
||||
return 301 https://$host/remote.php/dav;
|
||||
}
|
||||
|
||||
location / {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue