+1-650-300-4887 info@cozmot.com

Magento 502 bad gateway nginx error (and how can you fix it)?

October 21, 2020
By Cozmot

I installed the magento2 when I am trying to open some pages facing 502 nginx issue,
in nginx logs it is showing
upstream sent too big header while reading response header from upstream,
then solved this issue by modifying this file
vi /usr/local/etc/nginx/nginx.conf
add this line of codes inside http{}

]]>