diff options
| author | Yegor Timoshenko <yegortimoshenko@riseup.net> | 2018-05-22 20:46:29 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-22 20:46:29 +0300 |
| commit | a845a1ab50ef77f236f45e7d262b8f9db08bc74a (patch) | |
| tree | fa5588930fae87fea82f4e319bf2e5edd7e8ae29 | |
| parent | coqPackages.iris: init at 3.1.0 (#40909) (diff) | |
| download | nixpkgs-origin/yegortimoshenko-patch-3.tar.gz | |
nixos/nginx: make sslCertificate and sslCertificateKey nullableorigin/yegortimoshenko-patch-3
| -rw-r--r-- | nixos/modules/services/web-servers/nginx/vhost-options.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nixos/modules/services/web-servers/nginx/vhost-options.nix b/nixos/modules/services/web-servers/nginx/vhost-options.nix index e4494dff37da..e615766cc60c 100644 --- a/nixos/modules/services/web-servers/nginx/vhost-options.nix +++ b/nixos/modules/services/web-servers/nginx/vhost-options.nix @@ -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."; }; |
