504 Gateway Time-out nginx
504 Gateway Time-out nginx
Hello,
I have a problem since 2 days with VestaCP installed in a Ubuntu LTS. I have this message :
What can I do, please?
Thx in advance for your help.
/EDIT : I use Apache configuration, Ngnix is disabled for this site.
I have a problem since 2 days with VestaCP installed in a Ubuntu LTS. I have this message :
Code: Select all
504 Gateway Time-out
nginx
Thx in advance for your help.
/EDIT : I use Apache configuration, Ngnix is disabled for this site.
Re: 504 Gateway Time-out nginx
By default work nginx + apache2.
504 error say about not working backend (apache)
Disabled how? Tell us your story please.
504 error say about not working backend (apache)
Disabled how? Tell us your story please.
Re: 504 Gateway Time-out nginx
Hello,
I wanted to say that Nginx is not checked in domaine name, in Vesta :

I have add in /etc/nginx/nginx.conf
I have reboot the server (restarting Nginx did work). At this moment it seems to work.
I wanted to say that Nginx is not checked in domaine name, in Vesta :

I have add in /etc/nginx/nginx.conf
Code: Select all
fastcgi_read_timeout 300;
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 600;
fastcgi_buffer_size 128k;
fastcgi_buffers 8 128k;
Re: 504 Gateway Time-out nginx
Ok, I have always this error. I have increase the values like explained here : http://www.codetweet.com/nginx/solved-5 ... eb-server/
client_header_timeout 3000;
client_body_timeout 3000;
fastcgi_read_timeout 3000;
client_max_body_size 32m;
fastcgi_buffers 8 128k;
fastcgi_buffer_size 128k;
I hope the problem will be resolve with that.
client_header_timeout 3000;
client_body_timeout 3000;
fastcgi_read_timeout 3000;
client_max_body_size 32m;
fastcgi_buffers 8 128k;
fastcgi_buffer_size 128k;
I hope the problem will be resolve with that.
Re: 504 Gateway Time-out nginx
I have modify in php.ini this line : max_execution_time = 300
I have restart apache. I'm waiting for a possible error, or not. This time a will look to the apache logs for my domain name.
Code: Select all
$ locate php.ini
/etc/php5/apache2/php.ini <------------ modified
/etc/php5/cgi/php.ini <------------ modified
/etc/php5/cli/php.ini <------------ modified
/usr/local/vesta/php/lib/php.ini
/usr/local/vesta/src/rpm/conf/php.ini
/usr/share/php5/php.ini-development
/usr/share/php5/php.ini-production
/usr/share/php5/php.ini-production.cli
Re: 504 Gateway Time-out nginx
The 504 error need not to be of the hosting company. There are some other issues that can make 504 error. Read it here http://firstandgeek.com/504-gateway-tim ... error-504/
Re: 504 Gateway Time-out nginx
Main idea - you need more resources but with simple language.jinsonkv wrote:The 504 error need not to be of the hosting company. There are some other issues that can make 504 error.