After i changed the port of my node js application from 3000 to 3001 , some of the resources in few of the pages don't load completely ultimately leading to 504 Gateway Time-out (nginx/1.10.3(Ubuntu) ) . Upon further investigation in the nginx log files :
2019/09/19 19:54:33 [error] 14156#14156: *690847 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 128.227.1.21, server: lims.rgportal.com, request: "GET /projects/59e133a53e785ff00550cee7/tempPlatePools HTTP/1.1", upstream: "http://127.0.0.1:3001/projects/59e133a53e785ff00550cee7/tempPlatePools", host: "lims.rgportal.com", referrer: "https://lims.rgportal.com/"
Please help !!!