Merge pull request #153252 from ncfavier/fix-rejectSSL

nixos/nginx: Revert "disable rejectSSL activation when https is disabled"
This commit is contained in:
7c6f434c
2022-01-02 23:51:24 +00:00
committed by GitHub
@@ -317,7 +317,7 @@ let
${optionalString (hasSSL && vhost.sslTrustedCertificate != null) ''
ssl_trusted_certificate ${vhost.sslTrustedCertificate};
''}
${optionalString (hasSSL && vhost.rejectSSL) ''
${optionalString vhost.rejectSSL ''
ssl_reject_handshake on;
''}
${optionalString (hasSSL && vhost.kTLS) ''