-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlighttpd.conf.sample
49 lines (43 loc) · 1.12 KB
/
lighttpd.conf.sample
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
server.port = 80
server.username = "http"
server.groupname = "http"
server.document-root = "/srv/http"
server.errorlog = "/var/log/lighttpd/error.log"
server.breakagelog = "/var/log/lighttpd/breakage.log"
dir-listing.activate = "enable"
index-file.names = ( )
mimetype.assign = (
".html" => "text/html",
".txt" => "text/plain",
".jpg" => "image/jpeg",
".png" => "image/png",
".css" => "text/css",
".js" => "text/javascript",
".xz" => "application/x-xz",
".gz" => "application/x-gzip",
"" => "application/octet-stream"
)
server.modules = (
"mod_alias",
"mod_rewrite",
"mod_fastcgi",
)
alias.url = (
"/aurstaging" => "/var/lib/aurbs/aurstaging/",
"/aurbs" => "/var/lib/aurbs/public_repo/"
)
url.rewrite-once = (
"^(/aurstaging.*)$" => "$1",
"^(/aurbs.*)$" => "$1",
"^(/.*)$" => "/aurbs.fcgi$1"
)
fastcgi.server = ("/aurbs.fcgi" =>
((
"socket" => "/tmp/aurbs-fcgi.sock",
"bin-path" => "/usr/lib/aurbs/aurbs.fcgi",
"check-local" => "disable",
"max-procs" => 1,
"fix-root-scriptname" => "enable",
"allow-x-send-file" => "enable"
))
)