From dfb0e6df5ca2e045b45f2dce0a254b7444fb277f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 16 Apr 2019 00:04:06 +0200 Subject: Fix apache certificate chain containing the cert in double --- nixops/modules/websites/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixops/modules/websites') diff --git a/nixops/modules/websites/default.nix b/nixops/modules/websites/default.nix index f820c83..9782e68 100644 --- a/nixops/modules/websites/default.nix +++ b/nixops/modules/websites/default.nix @@ -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; -- cgit v1.2.3