Skip to content

Commit

Permalink
Merge pull request #1161 from bobrippling/master
Browse files Browse the repository at this point in the history
Add reverse proxy example for lighttpd, touches only `DOCUMENTATION.md`
  • Loading branch information
pbiering authored Mar 1, 2024
2 parents f57e738 + 8e8c652 commit f64488b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,23 @@ RewriteRule ^(.*)$ http://localhost:5232/$1 [P,L]
RequestHeader set X-Script-Name /radicale
```

Example **lighttpd** configuration:

```lighttpd
server.modules += ( "mod_proxy" , "mod_setenv", "mod_rewrite" )
$HTTP["url"] =~ "^/radicale/" {
proxy.server = ( "" => (( "host" => "127.0.0.1", "port" => "5232" )) )
proxy.header = ( "map-urlpath" => ( "/radicale/" => "/" ))
setenv.add-request-header = (
"X-Script-Name" => "/radicale",
"Script-Name" => "/radicale",
)
url.rewrite-once = ( "^/radicale/radicale/(.*)" => "/radicale/$1" )
}
```

Be reminded that Radicale's default configuration enforces limits on the
maximum number of parallel connections, the maximum file size and the rate of
incorrect authentication attempts. Connections are terminated after a timeout.
Expand Down

0 comments on commit f64488b

Please sign in to comment.