-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlighttpd.conf
35 lines (34 loc) · 946 Bytes
/
lighttpd.conf
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
server.port = 80
server.username = "lighttpd"
server.groupname = "lighttpd"
server.document-root = "/var/www/html"
server.errorlog = "/dev/stdout"
accesslog.filename = "/dev/stdout"
dir-listing.activate = "disable"
index-file.names = (
"index.html",
"index.htm",
"default.htm",
"index.php"
)
server.modules = (
"mod_access",
"mod_accesslog",
"mod_compress",
"mod_simple_vhost",
"mod_rewrite"
)
include "mime-types.conf"
include "mod_fastcgi_fpm.conf"
server.pid-file = "/run/lighttpd.pid"
url.access-deny = ("~", ".inc")
compress.cache-dir = "/var/lib/lighttpd/cache/compress"
compress.filetype = (
"text/css",
"text/html",
"text/javascript",
"text/plain",
"text/xml"
)
url.rewrite-if-not-file = ("^/[^?]*(\?.*)?$" => "/index.php$1")
server.follow-symlink = "enable"