]>
Commit | Line | Data |
---|---|---|
524d3b90 ER |
1 | # Let lighttpd act as a proxy server for special file types, hosts etc |
2 | # | |
3 | # | |
4 | server.modules += ( | |
5 | "mod_proxy_core" | |
6 | ) | |
7 | ||
8 | #$HTTP["url"] =~ "^/proxyme/" { | |
9 | # proxy-core.balancer = "round-robin" | |
10 | # proxy-core.protocol = "http" | |
11 | # proxy-core.backends = ( "wikipedia.org" ) | |
12 | # | |
13 | # ## to be done | |
14 | # proxy-core.rewrite-response = ( | |
15 | # "Location" => ( | |
16 | # "^http://en.wikipedia.org/(.*)" => "http://127.0.0.1:1025/$1" | |
17 | # ) | |
18 | # ) | |
19 | # proxy-core.rewrite-request = ( | |
20 | # "URI" => ( | |
21 | # "^/proxyme(/.*)" => "$1" | |
22 | # ) | |
23 | # ) | |
24 | #} |