mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-22 06:13:49 -07:00
Add Nextcloud CardDav and CalDav for subdomain proxy
This commit is contained in:
parent
f5f4f8c544
commit
c875048489
1 changed files with 8 additions and 0 deletions
|
@ -31,6 +31,14 @@ server {
|
|||
set $upstream_proto https;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
location /.well-known/carddav {
|
||||
return 301 $upstream_proto://$upstream_app/remote.php/dav;
|
||||
}
|
||||
|
||||
location /.well-known/caldav {
|
||||
return 301 $upstream_proto://$upstream_app/remote.php/dav;
|
||||
}
|
||||
|
||||
proxy_max_temp_file_size 2048m;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue