Good evening, friends, I come again to ask you for help about a problem.
I have a server with nginx + apache + varnish, most sites in it are with let’s encript and run perfectly.
However, I have a domain I preferred to keep without ssl for a few reasons.
For some reason I have not yet discovered, the site is redirected to a url that starts with https (it’s not the site code I’ve checked), and this error page shows that this site that does not have ssl is trying to use the certificate from another domain that has ssl.
I can not find any logical explanation for this redirection to a certificate from another domain, since that site does not even have a certificate created.
See below for links to understand better
Try to access this same site with https: //
Note that the certificate that appears as an error is the domain www.legisperitis.com.br, this site is functioning normally and has nothing to do with the reported site.
The solutions that I look for are trying to avoid this redirection or to know where this error comes from, or to create some internal redirect in nginx so that if the error occurs the own nginx redirected again to the url without the SSL.
can you help me? I’ve been for months without finding a solution.