mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
radicale: Redirect from .well-known URLs only temporarily
- When Nextcloud is enabled, it takes over the .well-known URLs. We don't want the redirect result to be cached resulting in wanted behavior. Tests: - curl -k https://192.168.122.87/.well-known/caldav and curl -k https://192.168.122.87/.well-known/carddav results in 302 Found responses instead of 301 permanent redirects. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
7a88c46bb2
commit
8297e74398
@ -2,8 +2,8 @@
|
||||
## On all sites, provide Radicale on a path: /radicale
|
||||
## Allow all valid users.
|
||||
##
|
||||
Redirect 301 /.well-known/carddav /radicale/
|
||||
Redirect 301 /.well-known/caldav /radicale/
|
||||
Redirect temp /.well-known/carddav /radicale/
|
||||
Redirect temp /.well-known/caldav /radicale/
|
||||
|
||||
<Location ~ ^/radicale$>
|
||||
<IfModule mod_rewrite.c>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user