mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
Merge pull request #4774 from nextcloud/enh/noid/fix-caddy-rewriting
caddy: fix rewriting .well-known to remote.php
This commit is contained in:
commit
8e75909689
1 changed files with 2 additions and 2 deletions
|
|
@ -53,11 +53,11 @@ https://{$ADDITIONAL_TRUSTED_DOMAIN}:443,
|
||||||
|
|
||||||
# Nextcloud
|
# Nextcloud
|
||||||
route {
|
route {
|
||||||
rewrite /.well-known/carddav /remote.php/dav/
|
|
||||||
rewrite /.well-known/caldav /remote.php/dav/
|
|
||||||
header Strict-Transport-Security max-age=31536000;
|
header Strict-Transport-Security max-age=31536000;
|
||||||
reverse_proxy 127.0.0.1:8000
|
reverse_proxy 127.0.0.1:8000
|
||||||
}
|
}
|
||||||
|
redir /.well-known/carddav /remote.php/dav/ 301
|
||||||
|
redir /.well-known/caldav /remote.php/dav/ 301
|
||||||
|
|
||||||
# TLS options
|
# TLS options
|
||||||
tls {
|
tls {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue