Mercurial > hg > rlgallery-misc
annotate lighttpd/lighttpd.conf @ 26:b003235abe75
Add lighttpd configuration files.
author | John "Elwin" Edwards |
---|---|
date | Mon, 28 Oct 2013 20:33:23 -0700 |
parents | |
children | e8f3b7994d88 |
rev | line source |
---|---|
26 | 1 ####################################################################### |
2 ## | |
3 ## /etc/lighttpd/lighttpd.conf | |
4 ## | |
5 ## check /etc/lighttpd/conf.d/*.conf for the configuration of modules. | |
6 ## | |
7 ####################################################################### | |
8 | |
9 ####################################################################### | |
10 ## | |
11 ## Some Variable definition which will make chrooting easier. | |
12 ## | |
13 ## if you add a variable here. Add the corresponding variable in the | |
14 ## chroot example aswell. | |
15 ## | |
16 var.log_root = "/var/log/lighttpd" | |
17 var.server_root = "/var/www" | |
18 var.state_dir = "/var/run" | |
19 var.home_dir = "/var/lib/lighttpd" | |
20 var.conf_dir = "/etc/lighttpd" | |
21 | |
22 ## | |
23 ## run the server chrooted. | |
24 ## | |
25 ## This requires root permissions during startup. | |
26 ## | |
27 ## If you run Chrooted set the the variables to directories relative to | |
28 ## the chroot dir. | |
29 ## | |
30 ## example chroot configuration: | |
31 ## | |
32 #var.log_root = "/logs" | |
33 #var.server_root = "/" | |
34 #var.state_dir = "/run" | |
35 #var.home_dir = "/lib/lighttpd" | |
36 #var.vhosts_dir = "/vhosts" | |
37 #var.conf_dir = "/etc" | |
38 # | |
39 #server.chroot = "/srv/www" | |
40 | |
41 ## | |
42 ## Some additional variables to make the configuration easier | |
43 ## | |
44 | |
45 ## | |
46 ## Base directory for all virtual hosts | |
47 ## | |
48 ## used in: | |
49 ## conf.d/evhost.conf | |
50 ## conf.d/simple_vhost.conf | |
51 ## vhosts.d/vhosts.template | |
52 ## | |
53 var.vhosts_dir = server_root + "/vhosts" | |
54 | |
55 ## | |
56 ## Cache for mod_compress | |
57 ## | |
58 ## used in: | |
59 ## conf.d/compress.conf | |
60 ## | |
61 var.cache_dir = "/var/cache/lighttpd" | |
62 | |
63 ## | |
64 ## Base directory for sockets. | |
65 ## | |
66 ## used in: | |
67 ## conf.d/fastcgi.conf | |
68 ## conf.d/scgi.conf | |
69 ## | |
70 var.socket_dir = home_dir + "/sockets" | |
71 | |
72 ## | |
73 ####################################################################### | |
74 | |
75 ####################################################################### | |
76 ## | |
77 ## Load the modules. | |
78 include "modules.conf" | |
79 | |
80 ## | |
81 ####################################################################### | |
82 | |
83 ####################################################################### | |
84 ## | |
85 ## Basic Configuration | |
86 ## --------------------- | |
87 ## | |
88 server.port = 80 | |
89 | |
90 ## | |
91 ## Use IPv6? | |
92 ## | |
93 server.use-ipv6 = "enable" | |
94 | |
b003235abe75
Add lighttpd configuration files.
John "Elwin" Edwards |