소스 검색

add lighttpd example config

schmijoe 1 개월 전
부모
커밋
f35c9de586
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  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" )
+}