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/db.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/db.nix')
-rw-r--r-- | nixops/modules/websites/tools/db.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nixops/modules/websites/tools/db.nix b/nixops/modules/websites/tools/db.nix index 70650fa..7c15c23 100644 --- a/nixops/modules/websites/tools/db.nix +++ b/nixops/modules/websites/tools/db.nix | |||
@@ -9,11 +9,10 @@ in { | |||
9 | }; | 9 | }; |
10 | 10 | ||
11 | config = lib.mkIf cfg.enable { | 11 | config = lib.mkIf cfg.enable { |
12 | security.acme.certs."eldiron".extraDomains."db-1.immae.eu" = null; | ||
13 | |||
14 | services.websites.tools.modules = adminer.apache.modules; | 12 | services.websites.tools.modules = adminer.apache.modules; |
15 | services.websites.tools.vhostConfs.db-1 = { | 13 | services.websites.tools.vhostConfs.db-1 = { |
16 | certName = "eldiron"; | 14 | certName = "eldiron"; |
15 | addToCerts = true; | ||
17 | hosts = ["db-1.immae.eu" ]; | 16 | hosts = ["db-1.immae.eu" ]; |
18 | root = null; | 17 | root = null; |
19 | extraConfig = [ adminer.apache.vhostConf ]; | 18 | extraConfig = [ adminer.apache.vhostConf ]; |