Changes

Jump to navigation Jump to search
314 bytes added ,  11:32, 13 February 2019
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>

Navigation menu