diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-16 23:23:05 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-17 00:04:47 +0200 |
commit | 7df420c27ebe7daaa4fd099c457ce9a9075b840e (patch) | |
tree | ec41e01e9331652c09dc4f2ed4186ce5952c3882 /nixops/modules/websites/tools/cloud.nix | |
parent | 52f45eb051df228955add90ca62de66a7ed8af34 (diff) | |
download | Nix-7df420c27ebe7daaa4fd099c457ce9a9075b840e.tar.gz Nix-7df420c27ebe7daaa4fd099c457ce9a9075b840e.tar.zst Nix-7df420c27ebe7daaa4fd099c457ce9a9075b840e.zip |
Add certificate creation and handling to websites
Diffstat (limited to 'nixops/modules/websites/tools/cloud.nix')
-rw-r--r-- | nixops/modules/websites/tools/cloud.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nixops/modules/websites/tools/cloud.nix b/nixops/modules/websites/tools/cloud.nix index 69b5fb0..5e010f4 100644 --- a/nixops/modules/websites/tools/cloud.nix +++ b/nixops/modules/websites/tools/cloud.nix | |||
@@ -49,12 +49,11 @@ in { | |||
49 | }; | 49 | }; |
50 | 50 | ||
51 | config = lib.mkIf cfg.enable { | 51 | config = lib.mkIf cfg.enable { |
52 | security.acme.certs."eldiron".extraDomains."cloud.immae.eu" = null; | ||
53 | |||
54 | services.websites.tools.modules = [ "proxy_fcgi" ]; | 52 | services.websites.tools.modules = [ "proxy_fcgi" ]; |
55 | 53 | ||
56 | services.websites.tools.vhostConfs.cloud = { | 54 | services.websites.tools.vhostConfs.cloud = { |
57 | certName = "eldiron"; | 55 | certName = "eldiron"; |
56 | addToCerts = true; | ||
58 | hosts = ["cloud.immae.eu" ]; | 57 | hosts = ["cloud.immae.eu" ]; |
59 | root = apacheRoot; | 58 | root = apacheRoot; |
60 | extraConfig = [ | 59 | extraConfig = [ |