Added some simple configuration examples.
[ashd.git] / examples / vhosts / patterns.conf
diff --git a/examples/vhosts/patterns.conf b/examples/vhosts/patterns.conf
new file mode 100644 (file)
index 0000000..552f2d0
--- /dev/null
@@ -0,0 +1,13 @@
+child default
+  exec dirplex default-site
+
+child localhost
+  exec dirplex localhost
+
+match
+  default
+  handler default
+
+match
+  header host localhost(:[0-9]+)?$ i
+  handler localhost