Revert "nixos/nginx: disable rejectSSL activation when https is disabled"

This reverts commit 2f66ac01e9.
This commit is contained in:
Naïm Favier 2022-01-02 21:01:29 +01:00
parent 85f943aaad
commit ec150abd1a
No known key found for this signature in database
GPG Key ID: 49B07322580B7EE2

View File

@ -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) ''