1
|
\
|
2
|
config {
|
3
|
var.CWD = "/root"
|
4
|
var.PID = 11921
|
5
|
var.log_root = "/var/log/lighttpd"
|
6
|
var.server_root = "/var/www"
|
7
|
var.state_dir = "/var/run"
|
8
|
var.home_dir = "/var/lib/lighttpd"
|
9
|
var.conf_dir = "/etc/lighttpd"
|
10
|
var.vhosts_dir = "/var/www/vhosts"
|
11
|
var.cache_dir = "/var/cache/lighttpd"
|
12
|
var.socket_dir = "/var/lib/lighttpd/sockets"
|
13
|
server.errorlog = "/var/log/lighttpd/error.log"
|
14
|
server.port = 80
|
15
|
server.username = "www"
|
16
|
server.groupname = "www"
|
17
|
server.document-root = "/var/www/dummy"
|
18
|
server.pid-file = "/var/run/lighttpd.pid"
|
19
|
server.upload-dirs = ("/var/tmp")
|
20
|
accesslog.filename = "/var/log/lighttpd/access.log"
|
21
|
server.event-handler = "linux-sysepoll"
|
22
|
server.network-backend = "sendfile"
|
23
|
server.max-fds = 2048
|
24
|
server.stat-cache-engine = "simple"
|
25
|
server.max-connections = 1024
|
26
|
server.max-request-size = 512
|
27
|
index-file.names = ("index.xhtml", "index.html", "index.htm", "default.htm", "index.php")
|
28
|
url.access-deny = ("~", ".inc")
|
29
|
static-file.exclude-extensions = (".php", ".pl", ".fcgi", ".scgi")
|
30
|
mimetype.assign = (
|
31
|
".pcf.Z" => "application/x-font-pcf",
|
32
|
".tar.bz2" => "application/x-gtar-compressed",
|
33
|
".tar.gz" => "application/x-gtar-compressed",
|
34
|
".ez" => "application/andrew-inset",
|
35
|
".anx" => "application/annodex",
|
36
|
".atom" => "application/atom+xml",
|
37
|
".atomcat" => "application/atomcat+xml",
|
38
|
".atomsrv" => "application/atomserv+xml",
|
39
|
".lin" => "application/bbolin",
|
40
|
".cu" => "application/cu-seeme",
|
41
|
".davmount" => "application/davmount+xml",
|
42
|
".dcm" => "application/dicom",
|
43
|
".tsp" => "application/dsptype",
|
44
|
".es" => "application/ecmascript",
|
45
|
".epub" => "application/epub+zip",
|
46
|
".pfr" => "application/font-tdpfr",
|
47
|
".spl" => "application/futuresplash",
|
48
|
".gz" => "application/gzip",
|
49
|
".hta" => "application/hta",
|
50
|
".jar" => "application/java-archive",
|
51
|
".ser" => "application/java-serialized-object",
|
52
|
".class" => "application/java-vm",
|
53
|
".js" => "application/javascript",
|
54
|
".json" => "application/json",
|
55
|
".m3g" => "application/m3g",
|
56
|
".hqx" => "application/mac-binhex40",
|
57
|
".cpt" => "application/mac-compactpro",
|
58
|
".nb" => "application/mathematica",
|
59
|
".nbp" => "application/mathematica",
|
60
|
".mbox" => "application/mbox",
|
61
|
".mdb" => "application/msaccess",
|
62
|
".doc" => "application/msword",
|
63
|
".dot" => "application/msword",
|
64
|
".mxf" => "application/mxf",
|
65
|
".asn" => "application/octet-stream",
|
66
|
".bin" => "application/octet-stream",
|
67
|
".deploy" => "application/octet-stream",
|
68
|
".ent" => "application/octet-stream",
|
69
|
".msp" => "application/octet-stream",
|
70
|
".msu" => "application/octet-stream",
|
71
|
".oda" => "application/oda",
|
72
|
".opf" => "application/oebps-package+xml",
|
73
|
".ogx" => "application/ogg",
|
74
|
".one" => "application/onenote",
|
75
|
".onepkg" => "application/onenote",
|
76
|
".onetmp" => "application/onenote",
|
77
|
".onetoc2" => "application/onenote",
|
78
|
".pdf" => "application/pdf",
|
79
|
".pgp" => "application/pgp-encrypted",
|
80
|
".key" => "application/pgp-keys",
|
81
|
".sig" => "application/pgp-signature",
|
82
|
".prf" => "application/pics-rules",
|
83
|
".ai" => "application/postscript",
|
84
|
".eps" => "application/postscript",
|
85
|
".eps2" => "application/postscript",
|
86
|
".eps3" => "application/postscript",
|
87
|
".epsf" => "application/postscript",
|
88
|
".epsi" => "application/postscript",
|
89
|
".ps" => "application/postscript",
|
90
|
".rar" => "application/rar",
|
91
|
".rdf" => "application/rdf+xml",
|
92
|
".rtf" => "application/rtf",
|
93
|
".stl" => "application/sla",
|
94
|
".smi" => "application/smil+xml",
|
95
|
".smil" => "application/smil+xml",
|
96
|
".xht" => "application/xhtml+xml",
|
97
|
".xhtml" => "application/xhtml+xml",
|
98
|
".xml" => "application/xml",
|
99
|
".xsd" => "application/xml",
|
100
|
".dtd" => "application/xml-dtd",
|
101
|
".xsl" => "application/xslt+xml",
|
102
|
".xslt" => "application/xslt+xml",
|
103
|
".xspf" => "application/xspf+xml",
|
104
|
".zip" => "application/zip",
|
105
|
".apk" => "application/vnd.android.package-archive",
|
106
|
".cdy" => "application/vnd.cinderella",
|
107
|
".ddeb" => "application/vnd.debian.binary-package",
|
108
|
".deb" => "application/vnd.debian.binary-package",
|
109
|
".udeb" => "application/vnd.debian.binary-package",
|
110
|
".sfd" => "application/vnd.font-fontforge-sfd",
|
111
|
".kml" => "application/vnd.google-earth.kml+xml",
|
112
|
".kmz" => "application/vnd.google-earth.kmz",
|
113
|
".xul" => "application/vnd.mozilla.xul+xml",
|
114
|
".xlb" => "application/vnd.ms-excel",
|
115
|
".xls" => "application/vnd.ms-excel",
|
116
|
".xlt" => "application/vnd.ms-excel",
|
117
|
".xlam" => "application/vnd.ms-excel.addin.macroEnabled.12",
|
118
|
".xlsb" => "application/vnd.ms-excel.sheet.binary.macroEnabled.12",
|
119
|
".xlsm" => "application/vnd.ms-excel.sheet.macroEnabled.12",
|
120
|
".xltm" => "application/vnd.ms-excel.template.macroEnabled.12",
|
121
|
".eot" => "application/vnd.ms-fontobject",
|
122
|
".thmx" => "application/vnd.ms-officetheme",
|
123
|
".cat" => "application/vnd.ms-pki.seccat",
|
124
|
".pps" => "application/vnd.ms-powerpoint",
|
125
|
".ppt" => "application/vnd.ms-powerpoint",
|
126
|
".ppam" => "application/vnd.ms-powerpoint.addin.macroEnabled.12",
|
127
|
".pptm" => "application/vnd.ms-powerpoint.presentation.macroEnabled.12",
|
128
|
".sldm" => "application/vnd.ms-powerpoint.slide.macroEnabled.12",
|
129
|
".ppsm" => "application/vnd.ms-powerpoint.slideshow.macroEnabled.12",
|
130
|
".potm" => "application/vnd.ms-powerpoint.template.macroEnabled.12",
|
131
|
".docm" => "application/vnd.ms-word.document.macroEnabled.12",
|
132
|
".dotm" => "application/vnd.ms-word.template.macroEnabled.12",
|
133
|
".odc" => "application/vnd.oasis.opendocument.chart",
|
134
|
".odb" => "application/vnd.oasis.opendocument.database",
|
135
|
".odf" => "application/vnd.oasis.opendocument.formula",
|
136
|
".odg" => "application/vnd.oasis.opendocument.graphics",
|
137
|
".otg" => "application/vnd.oasis.opendocument.graphics-template",
|
138
|
".odi" => "application/vnd.oasis.opendocument.image",
|
139
|
".odp" => "application/vnd.oasis.opendocument.presentation",
|
140
|
".otp" => "application/vnd.oasis.opendocument.presentation-template",
|
141
|
".ods" => "application/vnd.oasis.opendocument.spreadsheet",
|
142
|
".ots" => "application/vnd.oasis.opendocument.spreadsheet-template",
|
143
|
".odt" => "application/vnd.oasis.opendocument.text",
|
144
|
".odm" => "application/vnd.oasis.opendocument.text-master",
|
145
|
".ott" => "application/vnd.oasis.opendocument.text-template",
|
146
|
".oth" => "application/vnd.oasis.opendocument.text-web",
|
147
|
".pptx" => "application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
148
|
".sldx" => "application/vnd.openxmlformats-officedocument.presentationml.slide",
|
149
|
".ppsx" => "application/vnd.openxmlformats-officedocument.presentationml.slideshow",
|
150
|
".potx" => "application/vnd.openxmlformats-officedocument.presentationml.template",
|
151
|
".xlsx" => "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
152
|
".xltx" => "application/vnd.openxmlformats-officedocument.spreadsheetml.template",
|
153
|
".docx" => "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
154
|
".dotx" => "application/vnd.openxmlformats-officedocument.wordprocessingml.template",
|
155
|
".cod" => "application/vnd.rim.cod",
|
156
|
".mmf" => "application/vnd.smaf",
|
157
|
".sdc" => "application/vnd.stardivision.calc",
|
158
|
".sds" => "application/vnd.stardivision.chart",
|
159
|
".sda" => "application/vnd.stardivision.draw",
|
160
|
".sdd" => "application/vnd.stardivision.impress",
|
161
|
".sdf" => "application/vnd.stardivision.math",
|
162
|
".sdw" => "application/vnd.stardivision.writer",
|
163
|
".sgl" => "application/vnd.stardivision.writer-global",
|
164
|
".sxc" => "application/vnd.sun.xml.calc",
|
165
|
".stc" => "application/vnd.sun.xml.calc.template",
|
166
|
".sxd" => "application/vnd.sun.xml.draw",
|
167
|
".std" => "application/vnd.sun.xml.draw.template",
|
168
|
".sxi" => "application/vnd.sun.xml.impress",
|
169
|
".sti" => "application/vnd.sun.xml.impress.template",
|
170
|
".sxm" => "application/vnd.sun.xml.math",
|
171
|
".sxw" => "application/vnd.sun.xml.writer",
|
172
|
".sxg" => "application/vnd.sun.xml.writer.global",
|
173
|
".stw" => "application/vnd.sun.xml.writer.template",
|
174
|
".sis" => "application/vnd.symbian.install",
|
175
|
".cap" => "application/vnd.tcpdump.pcap",
|
176
|
".pcap" => "application/vnd.tcpdump.pcap",
|
177
|
".vsd" => "application/vnd.visio",
|
178
|
".vss" => "application/vnd.visio",
|
179
|
".vst" => "application/vnd.visio",
|
180
|
".vsw" => "application/vnd.visio",
|
181
|
".wbxml" => "application/vnd.wap.wbxml",
|
182
|
".wmlc" => "application/vnd.wap.wmlc",
|
183
|
".wmlsc" => "application/vnd.wap.wmlscriptc",
|
184
|
".wpd" => "application/vnd.wordperfect",
|
185
|
".wp5" => "application/vnd.wordperfect5.1",
|
186
|
".wk" => "application/x-123",
|
187
|
".7z" => "application/x-7z-compressed",
|
188
|
".abw" => "application/x-abiword",
|
189
|
".dmg" => "application/x-apple-diskimage",
|
190
|
".bcpio" => "application/x-bcpio",
|
191
|
".torrent" => "application/x-bittorrent",
|
192
|
".bz2" => "application/x-bzip",
|
193
|
".cab" => "application/x-cab",
|
194
|
".cbr" => "application/x-cbr",
|
195
|
".cbz" => "application/x-cbz",
|
196
|
".cda" => "application/x-cdf",
|
197
|
".cdf" => "application/x-cdf",
|
198
|
".vcd" => "application/x-cdlink",
|
199
|
".pgn" => "application/x-chess-pgn",
|
200
|
".mph" => "application/x-comsol",
|
201
|
".cpio" => "application/x-cpio",
|
202
|
".dcr" => "application/x-director",
|
203
|
".dir" => "application/x-director",
|
204
|
".dxr" => "application/x-director",
|
205
|
".dms" => "application/x-dms",
|
206
|
".wad" => "application/x-doom",
|
207
|
".dvi" => "application/x-dvi",
|
208
|
".gsf" => "application/x-font",
|
209
|
".pfa" => "application/x-font",
|
210
|
".pfb" => "application/x-font",
|
211
|
".pcf" => "application/x-font-pcf",
|
212
|
".mm" => "application/x-freemind",
|
213
|
".gan" => "application/x-ganttproject",
|
214
|
".gnumeric" => "application/x-gnumeric",
|
215
|
".sgf" => "application/x-go-sgf",
|
216
|
".gcf" => "application/x-graphing-calculator",
|
217
|
".gtar" => "application/x-gtar",
|
218
|
".taz" => "application/x-gtar-compressed",
|
219
|
".tbz" => "application/x-gtar-compressed",
|
220
|
".tgz" => "application/x-gtar-compressed",
|
221
|
".hdf" => "application/x-hdf",
|
222
|
".hwp" => "application/x-hwp",
|
223
|
".ica" => "application/x-ica",
|
224
|
".info" => "application/x-info",
|
225
|
".ins" => "application/x-internet-signup",
|
226
|
".isp" => "application/x-internet-signup",
|
227
|
".iii" => "application/x-iphone",
|
228
|
".iso" => "application/x-iso9660-image",
|
229
|
".jam" => "application/x-jam",
|
230
|
".jnlp" => "application/x-java-jnlp-file",
|
231
|
".jmz" => "application/x-jmol",
|
232
|
".chrt" => "application/x-kchart",
|
233
|
".kil" => "application/x-killustrator",
|
234
|
".skd" => "application/x-koan",
|
235
|
".skm" => "application/x-koan",
|
236
|
".skp" => "application/x-koan",
|
237
|
".skt" => "application/x-koan",
|
238
|
".kpr" => "application/x-kpresenter",
|
239
|
".kpt" => "application/x-kpresenter",
|
240
|
".ksp" => "application/x-kspread",
|
241
|
".kwd" => "application/x-kword",
|
242
|
".kwt" => "application/x-kword",
|
243
|
".latex" => "application/x-latex",
|
244
|
".lha" => "application/x-lha",
|
245
|
".lyx" => "application/x-lyx",
|
246
|
".lzh" => "application/x-lzh",
|
247
|
".lzx" => "application/x-lzx",
|
248
|
".book" => "application/x-maker",
|
249
|
".fb" => "application/x-maker",
|
250
|
".fbdoc" => "application/x-maker",
|
251
|
".fm" => "application/x-maker",
|
252
|
".frame" => "application/x-maker",
|
253
|
".frm" => "application/x-maker",
|
254
|
".maker" => "application/x-maker",
|
255
|
".mif" => "application/x-mif",
|
256
|
".m3u8" => "application/x-mpegURL",
|
257
|
".application" => "application/x-ms-application",
|
258
|
".manifest" => "application/x-ms-manifest",
|
259
|
".wmd" => "application/x-ms-wmd",
|
260
|
".wmz" => "application/x-ms-wmz",
|
261
|
".bat" => "application/x-msdos-program",
|
262
|
".com" => "application/x-msdos-program",
|
263
|
".dll" => "application/x-msdos-program",
|
264
|
".exe" => "application/x-msdos-program",
|
265
|
".msi" => "application/x-msi",
|
266
|
".nc" => "application/x-netcdf",
|
267
|
".pac" => "application/x-ns-proxy-autoconfig",
|
268
|
".nwc" => "application/x-nwc",
|
269
|
".o" => "application/x-object",
|
270
|
".oza" => "application/x-oz-application",
|
271
|
".p7r" => "application/x-pkcs7-certreqresp",
|
272
|
".crl" => "application/x-pkcs7-crl",
|
273
|
".pyc" => "application/x-python-code",
|
274
|
".pyo" => "application/x-python-code",
|
275
|
".qgs" => "application/x-qgis",
|
276
|
".shp" => "application/x-qgis",
|
277
|
".shx" => "application/x-qgis",
|
278
|
".qtl" => "application/x-quicktimeplayer",
|
279
|
".rdp" => "application/x-rdp",
|
280
|
".rpm" => "application/x-redhat-package-manager",
|
281
|
".rss" => "application/x-rss+xml",
|
282
|
".rb" => "application/x-ruby",
|
283
|
".sce" => "application/x-scilab",
|
284
|
".sci" => "application/x-scilab",
|
285
|
".xcos" => "application/x-scilab-xcos",
|
286
|
".shar" => "application/x-shar",
|
287
|
".swf" => "application/x-shockwave-flash",
|
288
|
".swfl" => "application/x-shockwave-flash",
|
289
|
".scr" => "application/x-silverlight",
|
290
|
".sql" => "application/x-sql",
|
291
|
".sit" => "application/x-stuffit",
|
292
|
".sitx" => "application/x-stuffit",
|
293
|
".sv4cpio" => "application/x-sv4cpio",
|
294
|
".sv4crc" => "application/x-sv4crc",
|
295
|
".tar" => "application/x-tar",
|
296
|
".gf" => "application/x-tex-gf",
|
297
|
".pk" => "application/x-tex-pk",
|
298
|
".texi" => "application/x-texinfo",
|
299
|
".texinfo" => "application/x-texinfo",
|
300
|
".roff" => "application/x-troff",
|
301
|
".t" => "application/x-troff",
|
302
|
".tr" => "application/x-troff",
|
303
|
".man" => "application/x-troff-man",
|
304
|
".me" => "application/x-troff-me",
|
305
|
".ms" => "application/x-troff-ms",
|
306
|
".ustar" => "application/x-ustar",
|
307
|
".src" => "application/x-wais-source",
|
308
|
".wz" => "application/x-wingz",
|
309
|
".crt" => "application/x-x509-ca-cert",
|
310
|
".xcf" => "application/x-xcf",
|
311
|
".fig" => "application/x-xfig",
|
312
|
".xpi" => "application/x-xpinstall",
|
313
|
".xz" => "application/x-xz",
|
314
|
".amr" => "audio/amr",
|
315
|
".awb" => "audio/amr-wb",
|
316
|
".axa" => "audio/annodex",
|
317
|
".au" => "audio/basic",
|
318
|
".snd" => "audio/basic",
|
319
|
".csd" => "audio/csound",
|
320
|
".orc" => "audio/csound",
|
321
|
".sco" => "audio/csound",
|
322
|
".flac" => "audio/flac",
|
323
|
".kar" => "audio/midi",
|
324
|
".mid" => "audio/midi",
|
325
|
".midi" => "audio/midi",
|
326
|
".m4a" => "audio/mpeg",
|
327
|
".mp2" => "audio/mpeg",
|
328
|
".mp3" => "audio/mpeg",
|
329
|
".mpega" => "audio/mpeg",
|
330
|
".mpga" => "audio/mpeg",
|
331
|
".m3u" => "audio/mpegurl",
|
332
|
".oga" => "audio/ogg",
|
333
|
".ogg" => "audio/ogg",
|
334
|
".opus" => "audio/ogg",
|
335
|
".spx" => "audio/ogg",
|
336
|
".sid" => "audio/prs.sid",
|
337
|
".aif" => "audio/x-aiff",
|
338
|
".aifc" => "audio/x-aiff",
|
339
|
".aiff" => "audio/x-aiff",
|
340
|
".gsm" => "audio/x-gsm",
|
341
|
".wax" => "audio/x-ms-wax",
|
342
|
".wma" => "audio/x-ms-wma",
|
343
|
".ra" => "audio/x-realaudio",
|
344
|
".ram" => "audio/x-realaudio",
|
345
|
".rm" => "audio/x-realaudio",
|
346
|
".pls" => "audio/x-scpls",
|
347
|
".sd2" => "audio/x-sd2",
|
348
|
".wav" => "audio/x-wav",
|
349
|
".alc" => "chemical/x-alchemy",
|
350
|
".cac" => "chemical/x-cache",
|
351
|
".cache" => "chemical/x-cache",
|
352
|
".csf" => "chemical/x-cache-csf",
|
353
|
".cascii" => "chemical/x-cactvs-binary",
|
354
|
".cbin" => "chemical/x-cactvs-binary",
|
355
|
".ctab" => "chemical/x-cactvs-binary",
|
356
|
".cdx" => "chemical/x-cdx",
|
357
|
".cer" => "chemical/x-cerius",
|
358
|
".c3d" => "chemical/x-chem3d",
|
359
|
".chm" => "chemical/x-chemdraw",
|
360
|
".cif" => "chemical/x-cif",
|
361
|
".cmdf" => "chemical/x-cmdf",
|
362
|
".cml" => "chemical/x-cml",
|
363
|
".cpa" => "chemical/x-compass",
|
364
|
".bsd" => "chemical/x-crossfire",
|
365
|
".csm" => "chemical/x-csml",
|
366
|
".csml" => "chemical/x-csml",
|
367
|
".ctx" => "chemical/x-ctx",
|
368
|
".cef" => "chemical/x-cxf",
|
369
|
".cxf" => "chemical/x-cxf",
|
370
|
".emb" => "chemical/x-embl-dl-nucleotide",
|
371
|
".embl" => "chemical/x-embl-dl-nucleotide",
|
372
|
".spc" => "chemical/x-galactic-spc",
|
373
|
".gam" => "chemical/x-gamess-input",
|
374
|
".gamin" => "chemical/x-gamess-input",
|
375
|
".inp" => "chemical/x-gamess-input",
|
376
|
".fch" => "chemical/x-gaussian-checkpoint",
|
377
|
".fchk" => "chemical/x-gaussian-checkpoint",
|
378
|
".cub" => "chemical/x-gaussian-cube",
|
379
|
".gau" => "chemical/x-gaussian-input",
|
380
|
".gjc" => "chemical/x-gaussian-input",
|
381
|
".gjf" => "chemical/x-gaussian-input",
|
382
|
".gal" => "chemical/x-gaussian-log",
|
383
|
".gcg" => "chemical/x-gcg8-sequence",
|
384
|
".gen" => "chemical/x-genbank",
|
385
|
".hin" => "chemical/x-hin",
|
386
|
".ist" => "chemical/x-isostar",
|
387
|
".istr" => "chemical/x-isostar",
|
388
|
".dx" => "chemical/x-jcamp-dx",
|
389
|
".jdx" => "chemical/x-jcamp-dx",
|
390
|
".kin" => "chemical/x-kinemage",
|
391
|
".mcm" => "chemical/x-macmolecule",
|
392
|
".mmd" => "chemical/x-macromodel-input",
|
393
|
".mmod" => "chemical/x-macromodel-input",
|
394
|
".mol" => "chemical/x-mdl-molfile",
|
395
|
".rd" => "chemical/x-mdl-rdfile",
|
396
|
".rxn" => "chemical/x-mdl-rxnfile",
|
397
|
".sd" => "chemical/x-mdl-sdfile",
|
398
|
".tgf" => "chemical/x-mdl-tgf",
|
399
|
".mcif" => "chemical/x-mmcif",
|
400
|
".mol2" => "chemical/x-mol2",
|
401
|
".b" => "chemical/x-molconn-Z",
|
402
|
".gpt" => "chemical/x-mopac-graph",
|
403
|
".mop" => "chemical/x-mopac-input",
|
404
|
".mopcrt" => "chemical/x-mopac-input",
|
405
|
".mpc" => "chemical/x-mopac-input",
|
406
|
".zmt" => "chemical/x-mopac-input",
|
407
|
".moo" => "chemical/x-mopac-out",
|
408
|
".mvb" => "chemical/x-mopac-vib",
|
409
|
".prt" => "chemical/x-ncbi-asn1-ascii",
|
410
|
".aso" => "chemical/x-ncbi-asn1-binary",
|
411
|
".val" => "chemical/x-ncbi-asn1-binary",
|
412
|
".pdb" => "chemical/x-pdb",
|
413
|
".ros" => "chemical/x-rosdal",
|
414
|
".sw" => "chemical/x-swissprot",
|
415
|
".vms" => "chemical/x-vamas-iso14976",
|
416
|
".vmd" => "chemical/x-vmd",
|
417
|
".xtel" => "chemical/x-xtel",
|
418
|
".xyz" => "chemical/x-xyz",
|
419
|
".ttc" => "font/collection",
|
420
|
".otf" => "font/ttf",
|
421
|
".ttf" => "font/ttf",
|
422
|
".woff" => "font/woff",
|
423
|
".woff2" => "font/woff2",
|
424
|
".gif" => "image/gif",
|
425
|
".ief" => "image/ief",
|
426
|
".jp2" => "image/jp2",
|
427
|
".jpg2" => "image/jp2",
|
428
|
".jpe" => "image/jpeg",
|
429
|
".jpeg" => "image/jpeg",
|
430
|
".jpg" => "image/jpeg",
|
431
|
".jpm" => "image/jpm",
|
432
|
".jpf" => "image/jpx",
|
433
|
".jpx" => "image/jpx",
|
434
|
".pcx" => "image/pcx",
|
435
|
".png" => "image/png",
|
436
|
".svg" => "image/svg+xml",
|
437
|
".svgz" => "image/svg+xml",
|
438
|
".tif" => "image/tiff",
|
439
|
".tiff" => "image/tiff",
|
440
|
".djv" => "image/vnd.djvu",
|
441
|
".djvu" => "image/vnd.djvu",
|
442
|
".ico" => "image/vnd.microsoft.icon",
|
443
|
".wbmp" => "image/vnd.wap.wbmp",
|
444
|
".cr2" => "image/x-canon-cr2",
|
445
|
".crw" => "image/x-canon-crw",
|
446
|
".ras" => "image/x-cmu-raster",
|
447
|
".cdr" => "image/x-coreldraw",
|
448
|
".pat" => "image/x-coreldrawpattern",
|
449
|
".cdt" => "image/x-coreldrawtemplate",
|
450
|
".erf" => "image/x-epson-erf",
|
451
|
".art" => "image/x-jg",
|
452
|
".jng" => "image/x-jng",
|
453
|
".bmp" => "image/x-ms-bmp",
|
454
|
".nef" => "image/x-nikon-nef",
|
455
|
".orf" => "image/x-olympus-orf",
|
456
|
".psd" => "image/x-photoshop",
|
457
|
".pnm" => "image/x-portable-anymap",
|
458
|
".pbm" => "image/x-portable-bitmap",
|
459
|
".pgm" => "image/x-portable-graymap",
|
460
|
".ppm" => "image/x-portable-pixmap",
|
461
|
".rgb" => "image/x-rgb",
|
462
|
".xbm" => "image/x-xbitmap",
|
463
|
".xpm" => "image/x-xpixmap",
|
464
|
".xwd" => "image/x-xwindowdump",
|
465
|
".eml" => "message/rfc822",
|
466
|
".iges" => "model/iges",
|
467
|
".igs" => "model/iges",
|
468
|
".mesh" => "model/mesh",
|
469
|
".msh" => "model/mesh",
|
470
|
".silo" => "model/mesh",
|
471
|
".vrml" => "model/vrml",
|
472
|
".wrl" => "model/vrml",
|
473
|
".x3db" => "model/x3d+binary",
|
474
|
".x3dv" => "model/x3d+vrml",
|
475
|
".x3d" => "model/x3d+xml",
|
476
|
".appcache" => "text/cache-manifest",
|
477
|
".ics" => "text/calendar",
|
478
|
".icz" => "text/calendar",
|
479
|
".css" => "text/css; charset=utf-8",
|
480
|
".csv" => "text/csv; charset=utf-8",
|
481
|
".323" => "text/h323",
|
482
|
".htm" => "text/html",
|
483
|
".html" => "text/html",
|
484
|
".shtml" => "text/html",
|
485
|
".uls" => "text/iuls",
|
486
|
".markdown" => "text/markdown; charset=utf-8",
|
487
|
".md" => "text/markdown; charset=utf-8",
|
488
|
".mml" => "text/mathml",
|
489
|
".asc" => "text/plain; charset=utf-8",
|
490
|
".brf" => "text/plain; charset=utf-8",
|
491
|
".conf" => "text/plain; charset=utf-8",
|
492
|
".log" => "text/plain; charset=utf-8",
|
493
|
".pot" => "text/plain; charset=utf-8",
|
494
|
".spec" => "text/plain; charset=utf-8",
|
495
|
".srt" => "text/plain; charset=utf-8",
|
496
|
".text" => "text/plain; charset=utf-8",
|
497
|
".txt" => "text/plain; charset=utf-8",
|
498
|
".rtx" => "text/richtext",
|
499
|
".sct" => "text/scriptlet",
|
500
|
".wsc" => "text/scriptlet",
|
501
|
".tsv" => "text/tab-separated-values",
|
502
|
".tm" => "text/texmacs",
|
503
|
".ttl" => "text/turtle",
|
504
|
".vcard" => "text/vcard",
|
505
|
".vcf" => "text/vcard",
|
506
|
".jad" => "text/vnd.sun.j2me.app-descriptor",
|
507
|
".wml" => "text/vnd.wap.wml",
|
508
|
".wmls" => "text/vnd.wap.wmlscript",
|
509
|
".bib" => "text/x-bibtex; charset=utf-8",
|
510
|
".boo" => "text/x-boo; charset=utf-8",
|
511
|
".h++" => "text/x-c++hdr; charset=utf-8",
|
512
|
".hh" => "text/x-c++hdr; charset=utf-8",
|
513
|
".hpp" => "text/x-c++hdr; charset=utf-8",
|
514
|
".hxx" => "text/x-c++hdr; charset=utf-8",
|
515
|
".c++" => "text/x-c++src; charset=utf-8",
|
516
|
".cc" => "text/x-c++src; charset=utf-8",
|
517
|
".cpp" => "text/x-c++src; charset=utf-8",
|
518
|
".cxx" => "text/x-c++src; charset=utf-8",
|
519
|
".h" => "text/x-chdr; charset=utf-8",
|
520
|
".htc" => "text/x-component",
|
521
|
".csh" => "text/x-csh; charset=utf-8",
|
522
|
".c" => "text/x-csrc; charset=utf-8",
|
523
|
".diff" => "text/x-diff; charset=utf-8",
|
524
|
".patch" => "text/x-diff; charset=utf-8",
|
525
|
".d" => "text/x-dsrc; charset=utf-8",
|
526
|
".hs" => "text/x-haskell; charset=utf-8",
|
527
|
".java" => "text/x-java; charset=utf-8",
|
528
|
".ly" => "text/x-lilypond; charset=utf-8",
|
529
|
".lhs" => "text/x-literate-haskell; charset=utf-8",
|
530
|
".moc" => "text/x-moc; charset=utf-8",
|
531
|
".p" => "text/x-pascal; charset=utf-8",
|
532
|
".pas" => "text/x-pascal; charset=utf-8",
|
533
|
".gcd" => "text/x-pcs-gcd",
|
534
|
".pl" => "text/x-perl; charset=utf-8",
|
535
|
".pm" => "text/x-perl; charset=utf-8",
|
536
|
".py" => "text/x-python; charset=utf-8",
|
537
|
".scala" => "text/x-scala; charset=utf-8",
|
538
|
".etx" => "text/x-setext",
|
539
|
".sfv" => "text/x-sfv",
|
540
|
".sh" => "text/x-sh; charset=utf-8",
|
541
|
".tcl" => "text/x-tcl; charset=utf-8",
|
542
|
".tk" => "text/x-tcl; charset=utf-8",
|
543
|
".cls" => "text/x-tex; charset=utf-8",
|
544
|
".ltx" => "text/x-tex; charset=utf-8",
|
545
|
".sty" => "text/x-tex; charset=utf-8",
|
546
|
".tex" => "text/x-tex; charset=utf-8",
|
547
|
".vcs" => "text/x-vcalendar",
|
548
|
".3gp" => "video/3gpp",
|
549
|
".ts" => "video/MP2T",
|
550
|
".axv" => "video/annodex",
|
551
|
".dl" => "video/dl",
|
552
|
".dif" => "video/dv",
|
553
|
".dv" => "video/dv",
|
554
|
".fli" => "video/fli",
|
555
|
".gl" => "video/gl",
|
556
|
".mp4" => "video/mp4",
|
557
|
".mpe" => "video/mpeg",
|
558
|
".mpeg" => "video/mpeg",
|
559
|
".mpg" => "video/mpeg",
|
560
|
".ogv" => "video/ogg",
|
561
|
".mov" => "video/quicktime",
|
562
|
".qt" => "video/quicktime",
|
563
|
".webm" => "video/webm",
|
564
|
".mxu" => "video/vnd.mpegurl",
|
565
|
".flv" => "video/x-flv",
|
566
|
".lsf" => "video/x-la-asf",
|
567
|
".lsx" => "video/x-la-asf",
|
568
|
".mkv" => "video/x-matroska",
|
569
|
".mpv" => "video/x-matroska",
|
570
|
".mng" => "video/x-mng",
|
571
|
".asf" => "video/x-ms-asf",
|
572
|
".asx" => "video/x-ms-asf",
|
573
|
".wm" => "video/x-ms-wm",
|
574
|
".wmv" => "video/x-ms-wmv",
|
575
|
".wmx" => "video/x-ms-wmx",
|
576
|
".wvx" => "video/x-ms-wvx",
|
577
|
".avi" => "video/x-msvideo",
|
578
|
".movie" => "video/x-sgi-movie",
|
579
|
".ice" => "x-conference/x-cooltalk",
|
580
|
".sisx" => "x-epoc/x-sisx-app",
|
581
|
".vrm" => "x-world/x-vrml",
|
582
|
"README" => "text/plain; charset=utf-8",
|
583
|
"Makefile" => "text/x-makefile; charset=utf-8",
|
584
|
"" => "application/octet-stream",
|
585
|
)
|
586
|
dir-listing.activate = "disable"
|
587
|
dir-listing.hide-dotfiles = "disable"
|
588
|
dir-listing.exclude = ("~$")
|
589
|
dir-listing.encoding = "UTF-8"
|
590
|
dir-listing.hide-header-file = "disable"
|
591
|
dir-listing.show-header = "disable"
|
592
|
dir-listing.hide-readme-file = "disable"
|
593
|
dir-listing.show-readme = "disable"
|
594
|
server.follow-symlink = "enable"
|
595
|
server.modules = ("mod_access", "mod_accesslog", "mod_rewrite", "mod_fastcgi", "mod_openssl")
|
596
|
debug.log-request-handling = "enable"
|
597
|
debug.log-request-header = "enable"
|
598
|
fastcgi.server = (
|
599
|
".php" => (
|
600
|
(
|
601
|
"bin-path" => "/usr/local/bin/php-cgi -q",
|
602
|
"socket" => "/tmp/php.socket",
|
603
|
"max-procs" => 8,
|
604
|
"idle-timeout" => 20,
|
605
|
"bin-environment" => (
|
606
|
"PHP_FCGI_CHILDREN" => "1",
|
607
|
"PHP_FCGI_MAX_REQUESTS" => "1000",
|
608
|
),
|
609
|
"bin-copy-environment" => ("PATH", "SHELL", "USER"),
|
610
|
"broken-scriptfilename" => "enable",
|
611
|
),
|
612
|
),
|
613
|
)
|
614
|
|
615
|
|
616
|
$HTTP["url"] =~ "\.pdf$" {
|
617
|
# block 1
|
618
|
server.range-requests = "disable"
|
619
|
|
620
|
} # end of $HTTP["url"] =~ "\.pdf$"
|
621
|
|
622
|
$HTTP["host"] =~ "xxxxxxx" {
|
623
|
# block 5
|
624
|
server.error-handler-404 = "/page/404"
|
625
|
server.document-root = "/var/www/xxxxxxx"
|
626
|
url.rewrite-once = (
|
627
|
"^/zzzzzz/.*" => "xxxxxxx",
|
628
|
)
|
629
|
|
630
|
}
|
631
|
|
632
|
|
633
|
$SERVER["socket"] == ":443" {
|
634
|
# block 12
|
635
|
ssl.engine = "enable"
|
636
|
ssl.pemfile = "/home/www/.acme.sh/xxxxxxx"
|
637
|
|
638
|
|
639
|
$HTTP["host"] == "xxxxxxx" {
|
640
|
# block 15
|
641
|
ssl.pemfile = "/home/www/.acme.sh/xxxxxxx"
|
642
|
|
643
|
}
|
644
|
|
645
|
$HTTP["host"] == "another_site" {
|
646
|
# block 16
|
647
|
ssl.pemfile = "/home/www/.acme.sh/yyyyyyyyy"
|
648
|
|
649
|
}
|
650
|
} # end of $SERVER["socket"] == ":443"
|
651
|
}
|