add .well-known routes to xaibox config for sslproxy

This commit is contained in:
2021-03-07 22:13:47 -05:00
parent 5b1c6075c9
commit 83820b8829

View File

@@ -24,6 +24,14 @@ server {
#Strict-Transport-Security: max-age=15768000
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
location /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
location / {
proxy_set_header Connection $http_connection;
proxy_set_header Host xaibox.xai-corp.net:$server_port;