aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/websites/tools/peertube.nix
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/websites/tools/peertube.nix
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/websites/tools/peertube.nix')
-rw-r--r--nixops/modules/websites/tools/peertube.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixops/modules/websites/tools/peertube.nix b/nixops/modules/websites/tools/peertube.nix
index 6cc6d38..12ab3c4 100644
--- a/nixops/modules/websites/tools/peertube.nix
+++ b/nixops/modules/websites/tools/peertube.nix
@@ -153,9 +153,9 @@ in {
153 services.websites.tools.modules = [ 153 services.websites.tools.modules = [
154 "headers" "proxy" "proxy_http" "proxy_wstunnel" 154 "headers" "proxy" "proxy_http" "proxy_wstunnel"
155 ]; 155 ];
156 security.acme.certs."eldiron".extraDomains."peertube.immae.eu" = null;
157 services.websites.tools.vhostConfs.peertube = { 156 services.websites.tools.vhostConfs.peertube = {
158 certName = "eldiron"; 157 certName = "eldiron";
158 addToCerts = true;
159 hosts = [ "peertube.immae.eu" ]; 159 hosts = [ "peertube.immae.eu" ];
160 root = null; 160 root = null;
161 extraConfig = [ '' 161 extraConfig = [ ''