Project

General

Profile

Bug #2868 » lighttpd.conf

my lighttpd configuration - iselind, 2018-02-22 14:28

 
1
server.document-root = "/home/patriki/projekt/www"
2

    
3
# Enable HTTPS
4
server.modules = ("mod_openssl")
5
server.port = 3333
6
ssl.engine = "enable"
7
ssl.pemfile = "/home/patriki/projekt/lighttpd/server_combined.pem"
8

    
9
# Enforce client certificate based authentication
10
ssl.ca-dn-file = "/home/patriki/projekt/lighttpd/ca-chain.cert.pem"
11
ssl.verifyclient.activate = "enable"
12
ssl.verifyclient.enforce = "enable"
13
ssl.verifyclient.username = "SSL_CLIENT_S_DN_CN"
14

    
15
mimetype.assign = (
16
  ".html" => "text/html",
17
  ".txt" => "text/plain",
18
  ".jpg" => "image/jpeg",
19
  ".png" => "image/png"
20
)
(2-2/9)