Nginx - Upstream SSL - peer closed connection in SSL handshake

前端 未结 6 2019
失恋的感觉
失恋的感觉 2021-02-14 03:26

I am getting this error:

Error frontend: 502 Bad gateway

99.110.244:443

2017/09/28 13:03:51 [error] 34080#34080: *1062 peer closed

6条回答
  •  孤城傲影
    2021-02-14 03:44

    Adding this line after the proxy_pass worked for me.

    proxy_ssl_server_name on;

    Before that I did this from here

    In REDHAT 7/ CentOS 7/ Oracle Linux 7: Install the certificate in your enviroment.

    1. Download Active PEM certificate from: https://letsencrypt.org/certificates/ in /etc/pki/ca-trust/source/anchors
    2. Execute: sudo update-ca-trust

    Not sure if those last 2 steps needed, but doing both worked for me.

    Cheers,

提交回复
热议问题