greenlight is up and running ..i know its the issue with location block but unable to correct it. Below is my location block code :
location /b {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_http_version 1.1;
}
location /b/cable {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_http_version 1.1;
proxy_read_timeout 6h;
proxy_send_timeout 6h;
client_body_timeout 6h;
send_timeout 6h;
}
i checked the error logs getting the following error :
2020/07/24 17:12:38 [error] 21629#21629: *3 peer closed connection in SSL handshake (104: Connection reset by peer) while SSL handshaking to upstream, client: xx.xx.xx.xx, server:
xyz.example.com, request: "GET /b HTTP/1.1", upstream: "
https://127.0.0.1:5000/b", host: "
xyz.example.com :8443"
if anyone can suggest something that would be great.
Thanks