504 gateway timeout Wordpress.How to fix ?

DenisMNE

Well-known member
Collaborate
Registered
Joined
Apr 11, 2018
Messages
108
Points
18
screenshot.png

What is the reason of this ?
Does anyone know ?
Would appreciate since I need to take care of this as soon as possible.
 

hostens

Well-known member
Hosting Provider
Registered
Joined
Jan 18, 2017
Messages
215
Points
28
Usually, the error occurs because your code took too long to get implemented. You can try solving it by setting a higher limit for the timeout values and then restart the nginx service.

There are several ways to increase the timeout value limits, it depends on the control panel you are using. One of the solutions is to open "nginx.conf" file, which should be located in /etc/nginx directory and edit the lines with higher values:

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;

Then restart the service and check your website.
 

DenisMNE

Well-known member
Collaborate
Registered
Joined
Apr 11, 2018
Messages
108
Points
18
DenisMNE
Thank you !
I got it fixed with my team.
Everything is working fine for now.
Pretty simple solution, I am glad I came here to try fix some of my ''amateur'' mistakes.
 
Older Threads
Replies
20
Views
7,135
Replies
5
Views
2,641
Replies
9
Views
4,621
Replies
1
Views
1,429
Newer Threads
Replies
5
Views
5,052
Replies
8
Views
3,889
Replies
2
Views
1,815
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top