Opened 6 months ago
Last modified 6 months ago
#2643 new defect
ssl_reject_handshake not working as expected
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | documentation | Version: | 1.25.x |
Keywords: | ssl_reject_handshake | Cc: | |
uname -a: | Linux ip-10-223-203-59.ec2.internal 5.14.0-362.8.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Oct 3 11:12:36 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux | ||
nginx -V: | nginx version: nginx/1.20.1 |
Description (last modified by )
Hi Team
Trying to setup a tcp load balancer on nginx :
Getting the errors below when I tried the various combinations present in the document
https://nginx.org/en/docs/stream/ngx_stream_ssl_module.html#ssl_reject_handshake
Error 1 :
May 23 20:53:03 ip-10-223-203-59.ec2.internal nginx[92054]: nginx: [emerg] the invalid "default_server" parameter in /etc/nginx/nginx.conf
and if I remove the default server parameter I get :
May 23 21:07:25 ip-10-223-203-59.ec2.internal nginx[92134]: nginx: [emerg] "ssl_reject_handshake" directive is not allowed>
May 23 21:07:25 ip-10-223-203-59.ec2.internal nginx[92134]: nginx: configuration file /etc/nginx/nginx.conf test failed
Please assist.
configuration file