aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/task
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-16 23:23:05 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-17 00:04:47 +0200
commit7df420c27ebe7daaa4fd099c457ce9a9075b840e (patch)
treeec41e01e9331652c09dc4f2ed4186ce5952c3882 /nixops/modules/task
parent52f45eb051df228955add90ca62de66a7ed8af34 (diff)
downloadNix-7df420c27ebe7daaa4fd099c457ce9a9075b840e.tar.gz
Nix-7df420c27ebe7daaa4fd099c457ce9a9075b840e.tar.zst
Nix-7df420c27ebe7daaa4fd099c457ce9a9075b840e.zip
Add certificate creation and handling to websites
Diffstat (limited to 'nixops/modules/task')
-rw-r--r--nixops/modules/task/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixops/modules/task/default.nix b/nixops/modules/task/default.nix
index feb3be8..426aa68 100644
--- a/nixops/modules/task/default.nix
+++ b/nixops/modules/task/default.nix
@@ -101,10 +101,10 @@ in {
101 SetEnv TASKD_LDAP_FILTER "${env.ldap.search}" 101 SetEnv TASKD_LDAP_FILTER "${env.ldap.search}"
102 ''; 102 '';
103 }]; 103 }];
104 security.acme.certs."eldiron".extraDomains.${fqdn} = null;
105 services.websites.tools.modules = [ "proxy_fcgi" "sed" ]; 104 services.websites.tools.modules = [ "proxy_fcgi" "sed" ];
106 services.websites.tools.vhostConfs.task = { 105 services.websites.tools.vhostConfs.task = {
107 certName = "eldiron"; 106 certName = "eldiron";
107 addToCerts = true;
108 hosts = [ "task.immae.eu" ]; 108 hosts = [ "task.immae.eu" ];
109 root = "/run/current-system/webapps/_task"; 109 root = "/run/current-system/webapps/_task";
110 extraConfig = [ '' 110 extraConfig = [ ''