1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-07-02 16:58:30 +00:00

Merge remote-tracking branch 'earlchew/issue-760' into gh-pages

This commit is contained in:
Unrud 2018-04-21 10:06:04 +02:00
commit 721fe29e01

View file

@ -18,6 +18,28 @@ location /radicale/ { # The trailing / is important!
} }
``` ```
Example **Apache** configuration using front end authentication:
```apache
## https://www.nginx.com/resources/wiki/start/topics/examples/likeapache/
##
## See proxy-chain-auth if authentication is performed on the back end
RewriteEngine On
RewriteRule ^/radicale$ /radicale/ [R,L]
<Location "/radicale/">
AuthType Basic
AuthName "Authentication Required"
AuthUserFile "/etc/radicale/passwd"
AuthGroupFile "/etc/radicale/group"
Require valid-user
ProxyPass http://localhost:5232/ retry=0
ProxyPassReverse http://localhost:5232/
RequestHeader set X-SCRIPT-NAME /radicale/
</Location>
```
Be reminded that Radicale's default configuration enforces limits on the Be reminded that Radicale's default configuration enforces limits on the
maximum number of parallel connections, the maximum file size and the rate of maximum number of parallel connections, the maximum file size and the rate of
incorrect authentication attempts. Connections are terminated after a timeout. incorrect authentication attempts. Connections are terminated after a timeout.