In my case it was a firewall issue. I disabled the firewall and it worked. I got a clue by curling the docker IP, which properly output the html homepage. sudo ip addr show docker0 then curl IP:port Before disabling firewall it would give a "curl: (56) Recv failure: Connection reset by peer". After, I get the HTML page output.
In my case it was a firewall issue. I disabled the firewall and it worked.
I got a clue by curling the docker IP, which properly output the html homepage.
sudo ip addr show docker0
then
curl IP:port
Before disabling firewall it would give a "curl: (56) Recv failure: Connection reset by peer".
After, I get the HTML page output.
NGINX is server respond first time I tried to access the application by url but when click on any link then it give " 502 Bad Gateway"
But hear in my case iam getting 503 errors 80 % and getting 200 20% what must be the issue
It could be a buffer issue; if you see in /var/log/nginx/error.log that some amount is exceeded then you should increase the buffer size.