0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-12 05:16:25 +03:00

apache-httpd: adding support for sslServerChain

This commit is contained in:
Peter Feigl 2015-03-27 13:11:30 +01:00
parent 4466707ddf
commit e5b3918f85
2 changed files with 9 additions and 0 deletions

View file

@ -231,6 +231,9 @@ let
${if cfg.sslServerCert != null then ''
SSLCertificateFile ${cfg.sslServerCert}
SSLCertificateKeyFile ${cfg.sslServerKey}
${if cfg.sslServerChain != null then ''
SSLCertificateChainFile ${cfg.sslServerChain}
'' else ""}
'' else ""}
${if cfg.enableSSL then ''

View file

@ -56,6 +56,12 @@ with lib;
description = "Path to server SSL certificate key.";
};
sslServerChain = mkOption {
type = types.path;
example = "/var/ca.pem";
description = "Path to server SSL extra chain file.";
};
adminAddr = mkOption ({
type = types.nullOr types.str;
example = "admin@example.org";