A
A
Alexander Drek2015-12-13 13:08:38
Nginx
Alexander Drek, 2015-12-13 13:08:38

How to correctly configure ssl on nginx for multiple domains on the same ip?

Good afternoon.
I have a server with 5 domains, ssl is connected to one of them.
The problem arose in the fact that if you go to another domain without ssl via https, then the domain that has ssl clings, while it is written that the certificate was issued for such and such a domain, and you entered incorrectly. In addition to this, Google began to index such pages.
As I understand it, you need to somehow specify the default actions for nginx if the site does not have ssl.
Tell me what to do.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alegzz, 2015-12-13
@alegzz

it is correct to take out ssl on separate ip. TLS handshake is already started, the most appropriate certificate is given

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question