We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7376f4e commit 2f66ac0Copy full SHA for 2f66ac0
1 file changed
nixos/modules/services/web-servers/nginx/default.nix
@@ -313,7 +313,7 @@ let
313
${optionalString (hasSSL && vhost.sslTrustedCertificate != null) ''
314
ssl_trusted_certificate ${vhost.sslTrustedCertificate};
315
''}
316
- ${optionalString vhost.rejectSSL ''
+ ${optionalString (hasSSL && vhost.rejectSSL) ''
317
ssl_reject_handshake on;
318
319
${optionalString (hasSSL && vhost.kTLS) ''
0 commit comments