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/git | |
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/git')
-rw-r--r-- | nixops/modules/websites/tools/git/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nixops/modules/websites/tools/git/default.nix b/nixops/modules/websites/tools/git/default.nix index ea0d971..064d3dd 100644 --- a/nixops/modules/websites/tools/git/default.nix +++ b/nixops/modules/websites/tools/git/default.nix | |||
@@ -13,8 +13,6 @@ in { | |||
13 | }; | 13 | }; |
14 | 14 | ||
15 | config = lib.mkIf cfg.enable { | 15 | config = lib.mkIf cfg.enable { |
16 | security.acme.certs."eldiron".extraDomains."git.immae.eu" = null; | ||
17 | |||
18 | secrets.keys = mantisbt.keys; | 16 | secrets.keys = mantisbt.keys; |
19 | services.websites.tools.modules = | 17 | services.websites.tools.modules = |
20 | gitweb.apache.modules ++ | 18 | gitweb.apache.modules ++ |
@@ -27,6 +25,7 @@ in { | |||
27 | 25 | ||
28 | services.websites.tools.vhostConfs.git = { | 26 | services.websites.tools.vhostConfs.git = { |
29 | certName = "eldiron"; | 27 | certName = "eldiron"; |
28 | addToCerts = true; | ||
30 | hosts = ["git.immae.eu" ]; | 29 | hosts = ["git.immae.eu" ]; |
31 | root = gitweb.apache.root; | 30 | root = gitweb.apache.root; |
32 | extraConfig = [ | 31 | extraConfig = [ |