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 committed Aug 9, 2018
1 parent 419aa30 commit f49a29f
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 f49a29f

Please sign in to comment.