# HG changeset patch # User Sergey Kandaurov # Date 1679661014 -14400 # Node ID 2a7fc70900a5b9e62b801c36c1098ae893cb5a17 # Parent 72d206b37df10c3c9f72f96613aef6df910bf6e2 Tests: improved "ssl" directive test in ssl_reject_handshake.t. The "ssl" option was removed from listening sockets in non-default servers. In particular, this allows to test that the "ssl" directive actually works. diff --git a/ssl_reject_handshake.t b/ssl_reject_handshake.t --- a/ssl_reject_handshake.t +++ b/ssl_reject_handshake.t @@ -59,8 +59,8 @@ http { } server { - listen 127.0.0.1:8080 ssl; - listen 127.0.0.1:8081 ssl; + listen 127.0.0.1:8080; + listen 127.0.0.1:8081; server_name virtual; ssl_certificate localhost.crt; @@ -76,12 +76,12 @@ http { } server { - listen 127.0.0.1:8082 ssl; + listen 127.0.0.1:8082; server_name virtual1; } server { - listen 127.0.0.1:8082 ssl; + listen 127.0.0.1:8082; server_name virtual2; ssl_reject_handshake on;