]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Fix apache certificate chain containing the cert in double
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 15 Apr 2019 22:04:06 +0000 (00:04 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 15 Apr 2019 22:04:06 +0000 (00:04 +0200)
nixops/modules/websites/default.nix

index f820c83ceb04c5a301ae7fd0522d6a13d998309e..9782e683dfd37f26cdcf7a8c68e7113ba2ded979 100644 (file)
@@ -8,7 +8,7 @@ let
       enableSSL = true;
       sslServerCert = "/var/lib/acme/${vhostConf.certName}/cert.pem";
       sslServerKey = "/var/lib/acme/${vhostConf.certName}/key.pem";
-      sslServerChain = "/var/lib/acme/${vhostConf.certName}/fullchain.pem";
+      sslServerChain = "/var/lib/acme/${vhostConf.certName}/chain.pem";
       logFormat = "combinedVhost";
       listen = map (ip: { inherit ip; port = 443; }) cfg.ips;
       hostName = builtins.head vhostConf.hosts;