502 on login with nginx

Getting 502 bad gateway error?

1. Add the following in nginx.conf:

      proxy_buffer_size 128k;
      proxy_buffers 4 256k;
      proxy_busy_buffers_size 256k;

2. Add the following in the \.php$ section:

    fastcgi_buffer_size 128k;
    fastcgi_buffers 4 256k;
    fastcgi_busy_buffers_size 256k;

3. Restart nginx.

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    ezsh segfault or kicked of ezsh ssh session or ssh session crash
    Viewed 1605 times since Thu, Jun 15, 2017
    Blank page in GUI and an error in SSH/backed shell ’ license expired!’
    Viewed 1441 times since Wed, Aug 16, 2017
    Can’t connect to local MySQL server through socket ’3306 ’ in ezsh.log
    Viewed 1454 times since Thu, Jun 15, 2017
    Unable to open ssh session
    Viewed 1926 times since Thu, Jun 15, 2017
    Cannot login to ezeelogin backend - CageFS-Cloudlinux
    Viewed 1609 times since Wed, Jun 14, 2017
    Can’t connect to local MySQL server through socket /tmp/mysql.sock
    Viewed 3395 times since Thu, Jun 15, 2017
    Unable to add server into Ezeelogin via webinterface. Password error, times out
    Viewed 1537 times since Wed, Jun 14, 2017
    no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
    Viewed 2725 times since Tue, Jan 2, 2018
    Class ’DOMDocument’ not found
    Viewed 381 times since Thu, Oct 25, 2018
    LICENSE: No license Please contact [email protected]
    Viewed 1686 times since Wed, Jun 14, 2017