Community Builder on Nginx - 502 bad Gateway

10 years 9 months ago #230251 by tdesvages
Hello,

We installed Joomla (2.5.11) and Community Builder (V1.9.0) on Nginx with PHP on FastCGI.
Yet, we cannot access Community Builder configuration page or frontend CB pages. We just land on an error page stating :
502 Bad Gateway
nginx/1.4.1

In fact, the PHP process can't run properly with FastCGI on these pages. Please note that all other components (Jomsocial included) are running properly on this server.

I saw on he forums that it's recommended to change PHP support parameter from CGI-Application to ISAPI Extension... but it means changing FastCGI to standard PHP... and that involves changing the distribution for Apache instead of Nginx... that's a pain...

Does someone have any other idea / trick to do the job without installing Apache ?

Thanks for any help on this

Please Log in to join the conversation.

10 years 2 months ago #240040 by alfred
Hi,

I've exactly the same problem. Does somebody have an idea :
unbuntu 12.04
nginx
Community builder

Thanks in advance

Please Log in to join the conversation.

10 years 2 months ago - 10 years 2 months ago #240042 by alfred
Ok, Browsing on the net, I've find a solution here :
developernote.com/2012/09/how-i-fixed-nginx-502-bad-gateway-error/

What to do :
nano /etc/nginx/nginx.conf
Then, add :

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


Hope it will be usefull for somebody...

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.394 seconds

Facebook Twitter LinkedIn