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:
parent
9a5a323c2d
commit
4e00f585cd
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
|||||||
graph.json
|
graph.json
|
||||||
mapper-confs/*
|
mapper-confs/*
|
||||||
conf_sh.py
|
conf_sh.py
|
||||||
|
lighttp.conf
|
||||||
|
22
web/lighttp.example.conf
Normal file
22
web/lighttp.example.conf
Normal 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"
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user