nixos/nginx: disable rejectSSL activation when https is disabled
This commit is contained in:
parent
7376f4e34f
commit
2f66ac01e9
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ let
|
|||
${optionalString (hasSSL && vhost.sslTrustedCertificate != null) ''
|
||||
ssl_trusted_certificate ${vhost.sslTrustedCertificate};
|
||||
''}
|
||||
${optionalString vhost.rejectSSL ''
|
||||
${optionalString (hasSSL && vhost.rejectSSL) ''
|
||||
ssl_reject_handshake on;
|
||||
''}
|
||||
${optionalString (hasSSL && vhost.kTLS) ''
|
||||
|
|
Loading…
Reference in a new issue