propellor

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

commit e2563ccb75de5288d1a95747bf9cb486ee67196a
parent 3cb9bb31e623ed31a4b730628d21c39b0046846d
Author: rsiddharth <s@ricketyspace.net>
Date:   Sat,  9 Nov 2019 18:07:43 -0500

config.hs: Serve dingy.space from lyra.

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

diff --git a/config.hs b/config.hs @@ -245,6 +245,7 @@ lyra = host "lyra.ricketyspace.net" $props & Nginx.installed & Nginx.siteEnabled "ricketyspace.net" ricketyspaceNetNginx & Nginx.siteEnabled "git.ricketyspace.net" ricketyspaceNetGitNginx + & Nginx.siteEnabled "dingy.space" dingySpaceNginx & ricketyspaceNetDhparamPem & ricketyspaceNetCert `onChange` Nginx.restarted & ricketyspaceNetCertKey @@ -349,6 +350,7 @@ lyra = host "lyra.ricketyspace.net" $props vela :: Host vela = host "dingy.space" $props + & ipv4 "159.89.229.91" & ipv6 "2604:a880:400:d1::77f:8002" --- nginx @@ -485,6 +487,19 @@ ricketyspaceNetGitNginx = [ ] +dingySpaceNginx :: [String] +dingySpaceNginx = [ + "# Adapted from https://gist.github.com/konklone/6532544" + , "" + , "server {" + , " listen 80;" + , " listen [::]:80;" + , " server_name dingy.space;" + , " root /var/www/dingy.space;" + , "}" + ] + + --- certs ricketyspaceNetDhparamPem :: Property (HasInfo + UnixLike) ricketyspaceNetDhparamPem = File.hasPrivContent