5
0
mirror of https://github.com/cwinfo/yggdrasil-map synced 2024-11-25 18:11:36 +00:00
yggdrasil-map/web/lighttp.example.conf
2014-03-30 17:50:35 +03:00

23 lines
478 B
Plaintext

server.modules += (
"mod_fastcgi",
"mod_rewrite",
)
fastcgi.server += ("/fc00.fcgi" =>
((
"socket" => "/tmp/fc00-fcgi.sock",
"bin-path" => "/path/to/fc00.org/web/fc00.fcgi",
"check-local" => "disable",
"max-procs" => 1
))
)
alias.url += (
"/static/" => "/path/to/fc00.org/web/static/"
)
url.rewrite-once += (
"^(/static($|/.*))$" => "$1",
"^(/.*)$" => "/fc00.fcgi$1"
)