Skip to content

Commit a845a1a

Browse files
authoredMay 22, 2018
nixos/nginx: make sslCertificate and sslCertificateKey nullable
1 parent 571a1e1 commit a845a1a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎nixos/modules/services/web-servers/nginx/vhost-options.nix

+4-2
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,15 @@ with lib;
118118
};
119119

120120
sslCertificate = mkOption {
121-
type = types.path;
121+
type = types.nullOr types.path;
122+
default = null;
122123
example = "/var/host.cert";
123124
description = "Path to server SSL certificate.";
124125
};
125126

126127
sslCertificateKey = mkOption {
127-
type = types.path;
128+
type = types.nullOr types.path;
129+
default = null;
128130
example = "/var/host.key";
129131
description = "Path to server SSL certificate key.";
130132
};

0 commit comments

Comments
 (0)
Please sign in to comment.