Browse Source

add lighttpd example config

schmijoe 2 weeks ago
parent
commit
f35c9de586
1 changed files with 6 additions and 0 deletions
  1. 6 0
      contrib/lighttpd/radicale.conf

+ 6 - 0
contrib/lighttpd/radicale.conf

@@ -0,0 +1,6 @@
+server.modules += ( "mod_proxy" , "mod_setenv" )
+
+$HTTP["url"] =~ "^/radicale/" {
+  proxy.server = ( "" => (( "host" => "127.0.0.1", "port" => "5232" )) )
+  setenv.add-request-header = ( "X-Script-Name" => "/radicale" )
+}