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 yorickvP committed Jan 16, 2019
1 parent e63d73e commit 7ce2e26
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 @@ -118,13 +118,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 7ce2e26

Please sign in to comment.