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 kirelagin committed Jan 23, 2020
1 parent 7dc88f7 commit 3f0b156
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 3f0b156

Please sign in to comment.