File: lighttpd.conf

package info (click to toggle)
ruby-rack 1.6.4-4%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,416 kB
  • sloc: ruby: 13,700; sh: 12; makefile: 6
file content (26 lines) | stat: -rwxr-xr-x 953 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
server.modules = ("mod_fastcgi", "mod_cgi")
server.document-root = "."
server.errorlog = var.CWD + "/lighttpd.errors"
server.port = 9203
server.bind = "127.0.0.1"

server.event-handler = "select"

cgi.assign = ("/test" => "",
#              ".ru" => ""
             )

fastcgi.server = (
                  "test.fcgi" => ("localhost" =>
                    ("min-procs" => 1,
                     "socket" => "/tmp/rack-test-fcgi",
                     "bin-path" => "test.fcgi")),
                  "test.ru" => ("localhost" =>
                    ("min-procs" => 1,
                     "socket" => "/tmp/rack-test-ru-fcgi",
                     "bin-path" => CWD + "/rackup_stub.rb test.ru")),
                  "sample_rackup.ru" => ("localhost" =>
                    ("min-procs" => 1,
                     "socket" => "/tmp/rack-test-rackup-fcgi",
                     "bin-path" => CWD + "/rackup_stub.rb sample_rackup.ru")),
                 )