Sort:  

3 hours later

How on earth have I caused a 502 Bad Gateway? Damn you nginx!

[error] 4787#4787: *1 SSL_do_handshake() failed (SSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol) while SSL handshaking to upstream

Edit: 3.5hrs later, it was a single 's' character causing all the problems!

proxy_pass https://127.0.0.1:8081;

changed to:

proxy_pass http://127.0.0.1:8081;

Coin Marketplace

STEEM 0.17
TRX 0.15
JST 0.029
BTC 62221.65
ETH 2424.80
USDT 1.00
SBD 2.55