• Hi

    on my site https://www.slople.com which is running WP and BP (on everything in the menu above except the startpage) I get a 502 bad gateway when trying to logout. This is the case for all almost 600 users since I moved to a VPS with Plesk.
    I googled the whole web ?? but can’t find a solution.

    Thanks for any hints
    Raphael

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter RaphaelJeger

    (@raphaeljeger)

    Hi

    just in case anyone has the same problem:

    add

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

    to your nginx.cnf and restart nginx, problem solved.

    Best,
    Raphael

    Raphael – I am having this problem as well but adding the proxy_* lines to both the http{} and server{} config sections didn’t seem to do the trick. Do you have any other tips on what you did to get it working in your environment?

    I am on WordPress 3.5.1, BuddyPress 1.6.4, NginX 0.8.55, spawn-fcgi and PHP 5.4.

    Thanks!

    Now I will respond to my own post in case anyone comes across this. The fix for me was including the following in my http{} block:

    proxy_buffer_size 128k;
    proxy_buffers 4 256k;
    proxy_busy_buffers_size 256k;
    
    fastcgi_buffer_size  16k;
    fastcgi_buffers      16  16k;
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘502 on Logout’ is closed to new replies.