mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-18 23:50:07 +03:00
Merge pull request #7027 from ecraven/apache-sslchain
apache-httpd: adding support for sslServerChain
This commit is contained in:
commit
574173f0e6
2 changed files with 9 additions and 0 deletions
|
@ -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 ''
|
||||
|
|
|
@ -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 chain file.";
|
||||
};
|
||||
|
||||
adminAddr = mkOption ({
|
||||
type = types.nullOr types.str;
|
||||
example = "admin@example.org";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue