diff options
Diffstat (limited to 'data/lighttpd/lighttpd-1.4.53/doc/config/vhosts.d/vhosts.template')
-rw-r--r-- | data/lighttpd/lighttpd-1.4.53/doc/config/vhosts.d/vhosts.template | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/data/lighttpd/lighttpd-1.4.53/doc/config/vhosts.d/vhosts.template b/data/lighttpd/lighttpd-1.4.53/doc/config/vhosts.d/vhosts.template new file mode 100644 index 000000000..06876fa37 --- /dev/null +++ b/data/lighttpd/lighttpd-1.4.53/doc/config/vhosts.d/vhosts.template @@ -0,0 +1,33 @@ +####################################################################### +## +## 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 + ## example how to include another config: + ## use trigger before download + ## + # include "conf.d/trigger_b4_dl.conf" + + server.document-root = vhosts_dir + "/example.com/download/htdocs" + ## + ## use a seperate access log file + ## At the moment you cant have different error log files. + ## + accesslog.filename = log_root + "/" + server_name + "/access.log" +} + +$SERVER["socket"] == "127.0.0.1:443" { + server.name = "localhost" + ssl.pemfile = "/etc/ssl/private/lighttpd-localhost.pem" + ssl.engine = "enable" + + server.document-root = vhosts_dir + "/ssl-localhost/pages/" +} + +## +####################################################################### |