lighttpd 1.4.x
https://www.lighttpd.net/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
997 B
26 lines
997 B
####################################################################### |
|
## |
|
## For more examples check: |
|
## |
|
## https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_Configuration |
|
## |
|
$HTTP["host"] == "download.example.com" { |
|
var.server_name = "download.example.com" |
|
server.name = server_name |
|
server.document-root = vhosts_dir + "/web/" + server_name + "/htdocs" |
|
|
|
## TLS certificate per vhost |
|
## |
|
#ssl.pemfile = vhosts_dir + "/web/" + server_name + "/certs/fullchain.pem" |
|
#ssl.privkey = vhosts_dir + "/web/" + server_name + "/certs/privkey.pem" |
|
#ssl.stapling-file = vhosts_dir + "/web/" + server_name + "/certs/staple.der" |
|
|
|
## use separate access/error log files |
|
## (since lighttpd 1.4.56, server.errorlog can also be used in virtual hosts) |
|
## |
|
#accesslog.filename = log_root + "/" + server_name + "/access.log" |
|
#server.errorlog = log_root + "/" + server_name + "/error.log" |
|
} |
|
|
|
## |
|
#######################################################################
|
|
|