1#######################################################################
2##
3## For more examples check:
4##
5## https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_Configuration
6##
7$HTTP["host"] == "download.example.com" {
8  var.server_name = "download.example.com"
9  server.name = server_name
10  server.document-root = vhosts_dir + "/web/" + server_name + "/htdocs"
11
12  ## TLS certificate per vhost
13  ##
14  #ssl.pemfile = vhosts_dir + "/web/" + server_name + "/certs/fullchain.pem"
15  #ssl.privkey = vhosts_dir + "/web/" + server_name + "/certs/privkey.pem"
16  #ssl.stapling-file = vhosts_dir + "/web/" + server_name + "/certs/staple.der"
17
18  ## use separate access/error log files
19  ## (since lighttpd 1.4.56, server.errorlog can also be used in virtual hosts)
20  ##
21  #accesslog.filename          = log_root + "/" + server_name + "/access.log"
22  #server.errorlog             = log_root + "/" + server_name + "/error.log"
23}
24
25##
26#######################################################################
27