propellor

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

commit 0866e6bca58ae964ae321de8a1e19082fb7d7d09
parent 1ed2edb7681d03942b032aaead22626117fccf8f
Author: rsiddharth <s@ricketyspace.net>
Date:   Fri, 12 Apr 2019 04:56:26 -0400

propellor spin

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

diff --git a/config.hs b/config.hs @@ -689,6 +689,7 @@ lyra = host "lyra.ricketyspace.net" $props & ipv6 "2604:a880:400:d1::77f:8001" & alias "ricketyspace.net" & alias "git.ricketyspace.net" + & alias "fsfi.ricketyspace.net" & File.hasContent "/etc/motd" (["At lyra."]) -- apt & Apt.stdSourcesList @@ -715,6 +716,7 @@ lyra = host "lyra.ricketyspace.net" $props & Nginx.installed & Nginx.siteEnabled "ricketyspace.net" ricketyspaceNetNginx & Nginx.siteEnabled "git.ricketyspace.net" ricketyspaceNetGitNginx + & Nginx.siteEnabled "fsfi.ricketyspace.net" ricketyspaceNetFSFINginx & ricketyspaceNetDhparamPem & ricketyspaceNetCert `onChange` Nginx.restarted & ricketyspaceNetCertKey @@ -933,6 +935,21 @@ ricketyspaceNetGitNginx = [ , "}" ] + +ricketyspaceNetFSFINginx :: [String] +ricketyspaceNetFSFINginx = [ + "# Adapted from https://gist.github.com/konklone/6532544" + , "" + , "server {" + , " listen 80;" + , " listen [::]:80;" + , " server_name fsfi.ricketyspace.net;" + , " root /home/w/fsfi;" + , " default_type text/plain;" + , "}" + ] + + --- certs ricketyspaceNetDhparamPem :: Property (HasInfo + UnixLike) ricketyspaceNetDhparamPem = File.hasPrivContent