Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question