Skip to content

Commit

Permalink
nixos/nginx: make sslCertificate and sslCertificateKey nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
lukateras authored and zhenyavinogradov committed Sep 2, 2020
1 parent 27ff76d commit 5c3b087
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nixos/modules/services/web-servers/nginx/vhost-options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,15 @@ with lib;
};

sslCertificate = mkOption {
type = types.path;
type = types.nullOr types.path;
default = null;
example = "/var/host.cert";
description = "Path to server SSL certificate.";
};

sslCertificateKey = mkOption {
type = types.path;
type = types.nullOr types.path;
default = null;
example = "/var/host.key";
description = "Path to server SSL certificate key.";
};
Expand Down

0 comments on commit 5c3b087

Please sign in to comment.