mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
radicale: Add support for radicale 2.x
- Remove obsolete base_prefix and well-known configs. - Use http_x_remote_user auth type. - Rewrite /radicale to /radicale/. - Add ProxyPassReverse. - Set X-Script-Name and X-Remote-User request headers. Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
2 files changed
+23
-9
No files matched your search
@@ -6,8 +6,19 @@ Redirect 301 /.well-known/carddav /radicale/.well-known/carddav
|
||||
Redirect 301 /.well-known/caldav /radicale/.well-known/caldav
|
||||
|
||||
<Location /radicale>
|
||||
ProxyPass http://localhost:5232
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_URI} ^/radicale$
|
||||
RewriteRule .* /radicale/ [R=301,L]
|
||||
</IfModule>
|
||||
</Location>
|
||||
|
||||
<Location /radicale/>
|
||||
Include includes/freedombox-auth-ldap.conf
|
||||
Require valid-user
|
||||
|
||||
ProxyPass http://localhost:5232/
|
||||
ProxyPassReverse http://localhost:5232/
|
||||
RequestHeader set X-Script-Name /radicale/
|
||||
RequestHeader set X-Remote-User %{REMOTE_USER}s
|
||||
</Location>
|
||||
Reference in new issue
Block a user