diff options
Diffstat (limited to 'modules/services/drone/server')
-rw-r--r-- | modules/services/drone/server/default.nix | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/services/drone/server/default.nix b/modules/services/drone/server/default.nix index 97e20a3..77f4ee2 100644 --- a/modules/services/drone/server/default.nix +++ b/modules/services/drone/server/default.nix @@ -36,18 +36,13 @@ in services.nginx.virtualHosts."${cfg.vhostName}" = { forceSSL = true; - useACMEHost = cfg.vhostName; + enableACME = true; locations."/" = { proxyPass = "http://127.0.0.1:${toString cfg.port}"; proxyWebsockets = true; }; }; - security.acme.certs."${cfg.vhostName}" = { - dnsProvider = "gcloud"; - credentialsFile = secrets."acme/credentials".path; - }; - my.services.backup = { paths = [ "/var/lib/droner-server" ]; }; }; } |