Merge pull request #7027 from ecraven/apache-sslchain
apache-httpd: adding support for sslServerChain
This commit is contained in:
		
						commit
						574173f0e6
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user