Skip to Content Skip to Menu

Community Builder on Nginx - 502 bad Gateway

  • tdesvages
  • tdesvages
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
11 years 4 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 or Create an account to join the conversation.

  • alfred
  • alfred
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
10 years 9 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 or Create an account to join the conversation.

  • alfred
  • alfred
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
10 years 9 months ago - 10 years 9 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...
Last edit: 10 years 9 months ago by alfred.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum