k
Size: a a a
ВМ
ВМ
ВМ
ВМ
ВМ
ВМ
ВМ
ВМ
ВМ
ВМ
ВМ
ZZ
upstream websocket {
server IPSERVER:8010;
}
server {
listen 8020 ssl;
Тут SSL-Сертификаты Certbot-а
location / {
proxy_pass https://IPSERVER:8020;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $host;
}
}wscat --connect wss://IPSERVER:8020
error: Hostname/IP does not match certificate's altnames: IP: IPSERVER is not in the cert's list: