Nginx - Upstream SSL - peer closed connection in SSL handshake

前端 未结 6 2168
失恋的感觉
失恋的感觉 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:58

    To improve the other answer I would say that

    upstream is really important

    For simple redirect from one domain into another just use this:

    http {
    ....
    upstream someserver {
            server your.domain.name.com:443;
    }
    
    location / {
       proxy_pass https://someserver;
    }
    
    }
    

提交回复
热议问题