propellor

propellor config for hosts.
git clone git://git.ricketyspace.net/propellor.git
Log | Files | Refs | LICENSE

commit 8c2668c90f8db3951a04f074027b5ad7a5aaf52f
parent 5319c4dd9bb3e8d1bd5e0e3405f31785a558add1
Author: rsiddharth <s@ricketyspace.net>
Date:   Thu, 22 Aug 2019 17:49:50 -0400

config.hs: ara: Remove nginx stuff.

Diffstat:
config.hs | 30------------------------------
1 file changed, 0 insertions(+), 30 deletions(-)

diff --git a/config.hs b/config.hs @@ -116,40 +116,10 @@ ara = host "ara.ricketyspace.net" $props (User "s") hostContext (SshRsa, sAraSshPubKey) & File.hasContent "/home/s/.tmux.conf" tmuxConf & File.ownerGroup "/home/s" (User "s") (Group "s") - -- nginx - & Nginx.siteEnabled "ara.ricketyspace.net" araNginx - & File.dirExists "/home/s/pub" - & File.ownerGroup "/home/s/pub" (User "s") (Group "s") - & File.hasContent "/home/s/pub/robots.txt" araWebRobotsTxt - & File.hasContent "/home/s/pub/index.html" araWebIndex -- docker-ce & dockerCEInstalled & User.hasGroup (User "s") (Group "docker") - - -araNginx :: [String] -araNginx = [ - "server {" - , " listen 80;" - , " listen [::]:80;" - , " server_name ara.ricketyspace.net;" - , " root /home/s/pub;" - , " error_page 404 /404.html;" - , " error_page 403 /403.html;" - , " default_type text/plain;" - , "}" - ] - -araWebRobotsTxt :: [File.Line] -araWebRobotsTxt = [ - "User-agent: *" - , "Disallow: /" - ] - -araWebIndex :: [File.Line] -araWebIndex = [""] - -- configure virgo virgo :: Host virgo = host "virgo.ricketyspace.net" $props