Welcome! Log In Create A New Profile


Nginx-apache-joomla: 502 bad gateway

Posted by skyscreaper 
Nginx-apache-joomla: 502 bad gateway
May 25, 2012 10:54AM

im Pietro and im having random 502 bad gateway on my site. www.gamberorosso.it

If possible id like to have your help on troubleshooting the problem.

When the problem happens i must restart the httpd service to get back up the site.

on nginx log i read: upstream prematurely closed connection while reading response header from upstream

Here on pastebin my configuration files.

http://pastebin.com/r4WUHwgR -> /etc/nginx/fastcgi.conf
http://pastebin.com/inprA9D1 -> /etc/nginx/conf.d/gamberorosso.conf
http://pastebin.com/Q14AeJrQ -> /etc/nginx/nginx.conf
http://pastebin.com/D4TLeVEv -> /etc/httpd/conf.d/portal.conf
http://pastebin.com/2yJdcAzE -> /etc/nginx/conf.d/www.conf

Any help would be graceful.
Re: Nginx-apache-joomla: 502 bad gateway
May 25, 2012 01:24PM
In php.ini: ignore_user_abort = On
In nginx.conf inside the php location block: fastcgi_ignore_client_abort on;
Re: Nginx-apache-joomla: 502 bad gateway
May 28, 2012 03:11AM
Thank you itpp2012 for the help,

id like to understand how and why you gave me that parameters first of applying them.

Again thank you.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 315
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready