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

This reverts commit 2f66ac01e9.
main
Naïm Favier 2 years ago
parent 85f943aaad
commit ec150abd1a
No known key found for this signature in database
GPG Key ID: 49B07322580B7EE2
  1. 2
      nixos/modules/services/web-servers/nginx/default.nix

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

Loading…
Cancel
Save