mirror of
https://github.com/cwinfo/yggdrasil-map
synced 2025-06-26 12:49:23 +00:00
Added lighttp config file
This commit is contained in:
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"
|
||||
)
|
Reference in New Issue
Block a user