All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

502 Bad Gateway

Andy Oh 13 Nov 2013 09:11 problem, rejected

In Low Variables....... I click on "Submit Changes" and then I get 502 Bad Gateway error even though the changes has been saved. I'm stumped!

Replies

  1. Low 13 Nov 2013 09:14

    This has mod_security written all over it. Can you check with your host if that is installed and if they can make an exception for it, or disable it?

  2. Andy Oh 13 Nov 2013 10:04

    mod_security module is not installed. I just found a solution and it worked. Post #11 from http://forum.parallels.com/showthread...

    huh.....

  3. Low 13 Nov 2013 10:09

    Good to know!

  4. Luke David 3 Jun 2015 19:36

    This thread is no longer available. What was the solution?

  5. Low 23 Jun 2015 20:33

    Here's a cached version of the linked forum page:
    https://web.archive.org/web/201408011...

    Post #11 read:

    Problem Solved.

    This is the fix.

    I have activated the nginx log in /etc/nginx/nginx.conf, then restart nginx.

    I have found an error in /var/log/nginx/error.log like that "upstream sent too big header while reading response header from upstream"

    I have been googling and the fix is to add some lines in nginx.conf file. Into the http directive add:

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

    Restart nginx and ready