Answer the question
In order to leave comments, you need to log in
NGINX: Terminate connection at 443 for a domain that does not have a certificate. Maybe?
There is a standard config. 10 sites. 2 of them with SSL certificates. If you add https to any of the 8 certificateless sites , the browser will swear that the site wants to slip the certificate of another site :(
How can I avoid this?
You either need to reset the connection altogether or redirect to port 80.
Thank you.
nginx -V
nginx version: nginx/1.10.2
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)
built with OpenSSL 1.0.2h 3 May 2016
TLS SNI support enabled
Answer the question
In order to leave comments, you need to log in
In any case, it will swear, since SSL handshake is earlier than HTTP (if we talk about redirect)
Write down
location /laravel {
root /var/www/laravel/public;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question