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
Error frontend: 502 Bad gateway
99.110.244:443
2017/09/28 13:03:51 [error] 34080#34080: *1062 peer closed
I had had this issue and I had to this to my location block
proxy_ssl_name your.proxiedserver.name; proxy_ssl_server_name on;