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
    Unable to add server using putty private key key pair. How to convert PPK file OpenSSH format
    Viewed 5223 times since Thu, Jun 15, 2017
    reCaptcha images not loading
    Viewed 3687 times since Wed, Jun 14, 2017
    ERROR for site owner: Invalid domain for site key
    Viewed 6472 times since Thu, Jun 28, 2018
    ssh session slow and not responsive
    Viewed 2826 times since Thu, Jun 15, 2017
    setup web ssh console in ezeelogin and ssh via browser
    Viewed 11890 times since Tue, Jan 30, 2018
    what port should i open on my server firewall to fetch ezeelogin license?
    Viewed 3454 times since Wed, Aug 16, 2017
    Configure Automatic su or sudo
    Viewed 5576 times since Thu, Jun 15, 2017
    Could not connect to database infinite loop on restore
    Viewed 3187 times since Wed, Jun 14, 2017
    Unknown cipher in list: TLSv1 SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
    Viewed 6915 times since Thu, Feb 15, 2018
    ’Failed to establish SSH session ’
    Viewed 3289 times since Fri, Jun 22, 2018