mirror of
https://github.com/cwinfo/yggdrasil-map
synced 2024-11-14 03:50:27 +00:00
23 lines
478 B
Plaintext
23 lines
478 B
Plaintext
server.modules += (
|
|
"mod_fastcgi",
|
|
"mod_rewrite",
|
|
)
|
|
|
|
fastcgi.server += ("/fc00.fcgi" =>
|
|
((
|
|
"socket" => "/tmp/fc00-fcgi.sock",
|
|
"bin-path" => "/path/to/fc00.org/web/fc00.fcgi",
|
|
"check-local" => "disable",
|
|
"max-procs" => 1
|
|
))
|
|
)
|
|
|
|
alias.url += (
|
|
"/static/" => "/path/to/fc00.org/web/static/"
|
|
)
|
|
|
|
url.rewrite-once += (
|
|
"^(/static($|/.*))$" => "$1",
|
|
"^(/.*)$" => "/fc00.fcgi$1"
|
|
)
|