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/ftp/temp.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/ftp/temp.nix')
-rw-r--r-- | nixops/modules/websites/ftp/temp.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nixops/modules/websites/ftp/temp.nix b/nixops/modules/websites/ftp/temp.nix index bdd80c0..86dfde3 100644 --- a/nixops/modules/websites/ftp/temp.nix +++ b/nixops/modules/websites/ftp/temp.nix | |||
@@ -11,11 +11,10 @@ in { | |||
11 | }; | 11 | }; |
12 | 12 | ||
13 | config = lib.mkIf cfg.production.enable { | 13 | config = lib.mkIf cfg.production.enable { |
14 | security.acme.certs."eldiron".extraDomains."temp.immae.eu" = null; | ||
15 | |||
16 | services.websites.production.modules = [ "headers" ]; | 14 | services.websites.production.modules = [ "headers" ]; |
17 | services.websites.production.vhostConfs.temp = { | 15 | services.websites.production.vhostConfs.temp = { |
18 | certName = "eldiron"; | 16 | certName = "eldiron"; |
17 | addToCerts = true; | ||
19 | hosts = [ "temp.immae.eu" ]; | 18 | hosts = [ "temp.immae.eu" ]; |
20 | root = varDir; | 19 | root = varDir; |
21 | extraConfig = [ | 20 | extraConfig = [ |