Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Nginx
(edit)
Revision as of 11:32, 13 February 2019
314 bytes added
,
11:32, 13 February 2019
→Solve Nginx 504 Gateway Timeout
Line 153:
Line 153:
}</nowiki>
}</nowiki>
== Solve Nginx 504 Gateway Timeout ==
== Solve Nginx 504 Gateway Timeout ==
+
=== Global ===
Add the folowing lines to /etc/nginx/nginx.conf
Add the folowing lines to /etc/nginx/nginx.conf
<nowiki>http {
<nowiki>http {
Line 161:
Line 162:
...
...
}</nowiki>
}</nowiki>
+
=== For one location ===
+
At the site-available file add:
+
<nowiki>...
+
location / {
+
...
+
proxy_connect_timeout 300;
+
proxy_send_timeout 300;
+
proxy_read_timeout 300;
+
send_timeout 300;
+
...
+
}
+
...</nowiki>
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version