fix config for nginx
This commit is contained in:
parent
9996951e64
commit
8ed5bd4eb5
1 changed files with 15 additions and 2 deletions
|
@ -1,2 +1,15 @@
|
|||
rewrite ^/\.well-known/carddav https://$server_name/remote.php/dav/ permanent;
|
||||
rewrite ^/\.well-known/caldav https://$server_name/remote.php/dav/ permanent;
|
||||
location = /robots.txt {
|
||||
allow all;
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
location = /.well-known/carddav {
|
||||
return 301 $scheme://$host/remote.php/dav;
|
||||
}
|
||||
|
||||
location = /.well-known/caldav {
|
||||
return 301 $scheme://$host/remote.php/dav;
|
||||
}
|
||||
|
||||
location /.well-known/acme-challenge { }
|
||||
|
|
Loading…
Reference in a new issue