0

I recently tried to set up the following server block:

server { listen 80 default_server; listen [::]:80 default_server; listen 443 ssl default_server; # this and listen [::]:443 ssl default_server; # this server_name _; return 404; } 

This works perfectly for http connections. But every connection to other ssl hosts fails if I activate this block. Chrome for example outputs ERR_SSL_PROTOCOL_ERROR. If I comment-out the lines marked with #this, then it works again. In my opinion, this seems to be a bug. Another user has stated the same problem in a comment in this post.

2
  • I can't get it. You mean that if you activate this block, you get error on any other valid server name? Commented Jul 21, 2014 at 10:48
  • Yes, exactly this behavior happens. Commented Jul 24, 2014 at 17:14

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.