mirror of
https://github.com/cwinfo/yggdrasil-map
synced 2024-11-22 11:40:28 +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"
|
|
)
|