SSL not initialized properly in a server section containing a syntax error in the server_name directive
marc at corky.net
Fri Jun 27 16:48:08 MSD 2008
The below configuration causes SSL not to be initialized for that server
section, silently. nginx listens on the port but rejects SSL
connections as "client sent invalid method while reading client request
line ... " as shown by the error log file, which was put in debug mode
to figure this out.
Tested with version 0.6.31.
server_name hostname.com <- notice the lack of ;
ssl_protocols SSLv3 TLSv1;
More information about the nginx