From 7df420c27ebe7daaa4fd099c457ce9a9075b840e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 16 May 2019 23:23:05 +0200 Subject: Add certificate creation and handling to websites --- nixops/modules/websites/tools/mastodon.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixops/modules/websites/tools/mastodon.nix') diff --git a/nixops/modules/websites/tools/mastodon.nix b/nixops/modules/websites/tools/mastodon.nix index 38b2107..ffd59dd 100644 --- a/nixops/modules/websites/tools/mastodon.nix +++ b/nixops/modules/websites/tools/mastodon.nix @@ -67,13 +67,13 @@ in { services.websites.tools.modules = [ "headers" "proxy" "proxy_wstunnel" "proxy_http" ]; - security.acme.certs."eldiron".extraDomains."mastodon.immae.eu" = null; system.extraSystemBuilderCmds = '' mkdir -p $out/webapps ln -s ${mcfg.workdir}/public/ $out/webapps/tools_mastodon ''; services.websites.tools.vhostConfs.mastodon = { certName = "eldiron"; + addToCerts = true; hosts = ["mastodon.immae.eu" ]; root = root; extraConfig = [ '' -- cgit v1.2.3