Google Plus

How I fixed Nginx 502 Bad Gateway error

Written by Mel Kham on . Posted in Frequently Asked Questions

Question: How to fix this  Error : nginx error: 502 Bad Gateway  /

Answer :

Your  problem will be fixed by adding two lines to Nginx configuration file /etc/nginx/nginx.conf   

http {
    ...
    fastcgi_buffers 8 16k;
    fastcgi_buffer_size 32k;
    ...
}

Restart   Nginx

is done.

 

For questions please refer to our Q/A forum at : http://ask.unixmen.com

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.
  • Ben

    Not working

  • Ray

    Sweet,…. that “was” my issue,…

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

AD

|

I need some Help on Linux,can you guide me ?

Edson Carlos

|

In debian no found. I need link download install in linux debian

jacky can

|

You can actually unzip your secret archive by leaving out the -t option, instead using:

unzip newPhoto.jpg

DragonFartOutLoud

|

it went to china.

DragonFartOutLoud

|

great review! i’ve been using it as my main OS since Beta 1 release. its been a awesome ride so far :)

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .