Hello,
I am getting ERROR 502, after checking error logs in /var/log/nginx I found this error
upstream sent too big header while reading response header from upstream, client: 185.191.171.9, server: SITEURL.com, request: "GET /uc-davis-citrix-login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php80-fpm.sock:", host: "www.SITEURL.com
After searching on google I found this solution https://community.wordops.net/d/615-here-is-how-i-fix-the-error-502-bad-gateway/5
According to this, I doubled the size of following directives in /etc/nginx/conf.d/fastcgi.conf:
From:
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
To:
fastcgi_buffers 16 32k;
fastcgi_buffer_size 64k;
But still I am getting same error, I need solution for this issue.
Thank You