summaryrefslogtreecommitdiffstats
path: root/boot/lighttpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'boot/lighttpd.conf')
-rw-r--r--boot/lighttpd.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/boot/lighttpd.conf b/boot/lighttpd.conf
new file mode 100644
index 00000000..e8d621aa
--- /dev/null
+++ b/boot/lighttpd.conf
@@ -0,0 +1,12 @@
+$HTTP["host"] =~ "(^|\.)boot\.krebsco\.de$" {
+ server.document-root = "/krebs/boot"
+ server.errorlog = "/var/log/lighttpd/boot.krebsco.de/error.log"
+ accesslog.filename = "/var/log/lighttpd/boot.krebsco.de/access.log"
+ url.rewrite-if-not-file = ( ".*" => "/bootstrap.sh" )
+}
+$HTTP["host"] =~ "(^|\.)tinc\.krebsco\.de$" {
+ server.document-root = "/krebs/boot"
+ server.errorlog = "/var/log/lighttpd/boot.krebsco.de/error.log"
+ accesslog.filename = "/var/log/lighttpd/boot.krebsco.de/access.log"
+ url.rewrite-if-not-file = ( ".*" => "/retiolum.sh" )
+}