summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2021-11-05 06:52:45 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2021-11-05 06:52:45 -0400
commit55d787cd5520376074326cdb22be4274c3c886ca (patch)
tree932b9fe27f39db79288968366db69921bb429a78 /doc
parent299220ac0dcbc2be73f229560155acab744cbd03 (diff)
downloadlighttpd-git-55d787cd5520376074326cdb22be4274c3c886ca.tar.gz
[doc] expand vhosts.template
Diffstat (limited to 'doc')
-rw-r--r--doc/config/vhosts.d/vhosts.template20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/config/vhosts.d/vhosts.template b/doc/config/vhosts.d/vhosts.template
index 7cccd0b4..67f64f37 100644
--- a/doc/config/vhosts.d/vhosts.template
+++ b/doc/config/vhosts.d/vhosts.template
@@ -6,20 +6,20 @@
##
$HTTP["host"] == "download.example.com" {
var.server_name = "download.example.com"
-
server.name = server_name
- ## example how to include another config:
- ## use trigger before download
- ##
- # include "conf.d/trigger_b4_dl.conf"
+ server.document-root = vhosts_dir + "/web/" + server_name + "/htdocs"
- server.document-root = vhosts_dir + "/example.com/download/htdocs"
+ ## TLS certificate per vhost
##
- ## use a seperate access log file
- ## Since lighttpd 1.4.56, server.errorlog can also be used in virtual hosts.
+ #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"
+ #accesslog.filename = log_root + "/" + server_name + "/access.log"
+ #server.errorlog = log_root + "/" + server_name + "/error.log"
}
##