5
0
mirror of https://github.com/cwinfo/yggdrasil-map synced 2024-11-14 16:40:26 +00:00
yggdrasil-map/web/lighttp.example.conf

23 lines
478 B
Plaintext
Raw Normal View History

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