work around unreliable ssl_reject_handshake

This commit is contained in:
Daniel Micay 2023-03-06 10:56:54 -05:00
parent fc3890cc91
commit 31e0ab3807

View File

@ -148,6 +148,12 @@ http {
listen 443 default_server ssl backlog=4096;
listen [::]:443 default_server ssl backlog=4096;
ssl_reject_handshake on;
# work around unreliable ssl_reject_handshake
keepalive_timeout 0;
location / {
return 404;
}
}
server {