dka@desktop ~ % http -vv https://www.banket-valencia.ru
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Host: www.banket-valencia.ru
User-Agent: HTTPie/3.2.1
http: error: SSLError: HTTPSConnectionPool(host='www.banket-valencia.ru', port=443): Max retries exceeded with url: / (Caused by SSLError(CertificateError("hostname 'www.banket-valencia.ru' doesn't match 'banket-valencia.ru'"))) while doing a GET request to URL: https://www.banket-valencia.ru/
Caused by SSLError(CertificateError("hostname 'www.banket-valencia.ru' doesn't match 'banket-valencia.ru'")))
нужно добавить редирект для www
server {
listen 80;
server_name www.example.com;
return 301 $scheme://example.com$request_uri;
}