How to Solve 502 Bad Gateway error in Nginx Magento 2

Yarpii

🖤 Founder
Dec 6, 2019
104
1
18
Bitz
💎2,452.25
add this line of codes inside http{}

Code:
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;