1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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