summaryrefslogtreecommitdiff
path: root/config-joey.hs
diff options
context:
space:
mode:
authorJoey Hess2014-12-09 00:34:57 -0400
committerJoey Hess2014-12-09 00:34:57 -0400
commit4f309c5cd61a6af5ecade56099ed605c0be72920 (patch)
tree30586152f2eb484c4de93b373b1694a84c278cbb /config-joey.hs
parent914f762d01f43b31920667049362d6f56f61c121 (diff)
parentb22201e36b608ba38f4d741268d04e7de3a966b8 (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'config-joey.hs')
-rw-r--r--config-joey.hs14
1 files changed, 14 insertions, 0 deletions
diff --git a/config-joey.hs b/config-joey.hs
index 9e0cf90f..78954805 100644
--- a/config-joey.hs
+++ b/config-joey.hs
@@ -76,6 +76,20 @@ darkstar = host "darkstar.kitenet.net"
& Apt.buildDep ["git-annex"] `period` Daily
& Docker.configured
! Docker.docked gitAnnexAndroidDev
+ & website "foo"
+
+website :: String -> RevertableProperty
+website hn = Apache.siteEnabled hn apachecfg
+ where
+ apachecfg = [ "<VirtualHost *>"
+ , "DocumentRoot /tmp/xx"
+ , "<Directory /tmp/xx>"
+ , " Options Indexes FollowSymLinks Multiviews"
+ , " Order allow,deny"
+ , Apache.allowAll
+ , "</Directory>"
+ , "</VirtualHost>"
+ ]
clam :: Host
clam = standardSystem "clam.kitenet.net" Unstable "amd64"