5
0
mirror of https://github.com/cwinfo/yggdrasil-map synced 2024-11-22 07:00:28 +00:00

Added lighttp config file

This commit is contained in:
Ubuntu 2014-03-30 14:19:42 +00:00
parent 9a5a323c2d
commit 4e00f585cd
2 changed files with 23 additions and 0 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
graph.json
mapper-confs/*
conf_sh.py
lighttp.conf

22
web/lighttp.example.conf Normal file
View File

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