> The message suggests you have another server{} listening on the
> same port, without ssl_certificate defined, and it's selected
> based on SNI.
Hi Maxim and thanks for the quick reply.
I have another server block just for redirect, I disabled SSL on it but the problem persists.
Here's how the other block looks like:
server
{
listen 80;
#listen 443 ssl;
server_name mydomain.com;
return 301 $scheme://www.mydomain.com$request_uri;
}
If it helps, I'm using nginx/1.1.19 on Ubuntu 12.04 32bit / XEN VPS.