mirror of
https://github.com/cwinfo/yggdrasil-map
synced 2024-11-09 23:00:26 +00:00
23 lines
470 B
Plaintext
23 lines
470 B
Plaintext
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"
|
|
)
|