diff --git a/hosts/proxy/default.nix b/hosts/proxy/default.nix index 1dcb22d..852517d 100644 --- a/hosts/proxy/default.nix +++ b/hosts/proxy/default.nix @@ -36,29 +36,6 @@ }; }; - security.acme = { - certs."stura.htw-dresden.de" = { - listenHTTP = ":8888"; - extraDomainNames = [ - "www.stura.htw-dresden.de" - ]; - group = "haproxy"; - # postRun = '' - # cat cert.pem key.pem > full.pem - # chmod 640 full.pem - # systemctl reload haproxy - # ''; - }; - }; - -# give haproxy access to the cert files -users.users.haproxy.extraGroups = [ "acme" ]; - -systemd.services.haproxy = { - after = [ "acme-finished-stura.htw-dresden.de.target" ]; - wants = [ "acme-finished-stura.htw-dresden.de.target" ]; -}; - services = { openssh = { enable = true;