aaPanel_Kern
Sorry, let me make it clear, my is Website Log
is display
SSL_do_handshake() failed (SSL: error:14094458:SSL routines:ssl3_read_bytes:tlsv1 unrecognized name:SSL alert number 112) while SSL handshaking to upstream, client: XXXXXXXX, server: XXXX_com, request: "GET / HTTP/2.0", upstream: "https://XXXXXXXX:443/
", host: "XXXXXXXX.com"
NOT WORK:
But as long as the source is set to IP:XXXX, it will work fine.
WORK:
This is my VPS panel nginx configuration
Automatically generated by the VPS panel, I did not make any changes
This is a simple static web page without using a CDN
server {
listen 80;
listen [::]:80;
listen 443 ssl http2;
listen [::]:443 ssl http2;
{{ssl_certificate_key}}
{{ssl_certificate}}
server_name www.XXXXX.com;
return 301 https://XXXXX.com$request_uri;
}
server {
listen 80;
listen [::]:80;
listen 443 ssl http2;
listen [::]:443 ssl http2;
{{ssl_certificate_key}}
{{ssl_certificate}}
server_name XXXXX.com www1.XXXXX.com;
{{root}}
{{nginx_access_log}}
{{nginx_error_log}}
if ($scheme != "https") {
rewrite ^ https://$host$uri permanent;
}
location ~ /.well-known {
auth_basic off;
allow all;
}
{{settings}}
index index.html;
location ~* ^.+.(css|js|jpg|jpeg|gif|png|ico|gz|svg|svgz|ttf|otf|woff|woff2|eot|mp4|ogg|ogv|webm|webp|zip|swf)$ {
add_header Access-Control-Allow-Origin "*";
expires max;
access_log off;
}
if (-f $request_filename) {
break;
}
}
Thanks
After my confirmation, I found that the problem should be with this panel. I changed to another vps panel and it worked fine.