Opened 4 weeks ago

Last modified 4 weeks ago

#2643 new defect

ssl_reject_handshake not working as expected

Reported by: srikanthvpai@… 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 srikanthvpai@…)

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.

Attachments (1)

nginx.conf.txt (3.4 KB ) - added by srikanthvpai@… 4 weeks ago.
configuration file

Download all attachments as: .zip

Change History (2)

by srikanthvpai@…, 4 weeks ago

Attachment: nginx.conf.txt added

configuration file

comment:1 by srikanthvpai@…, 4 weeks ago

Description: modified (diff)

Version of NGINX is 1.20.1 , not 1.25

Note: See TracTickets for help on using tickets.