Changes

Jump to navigation Jump to search
248 bytes added ,  08:19, 17 December 2018
no edit summary
Line 151: Line 151:  
         auth_basic_user_file /etc/nginx/.htpasswd;
 
         auth_basic_user_file /etc/nginx/.htpasswd;
 
     }
 
     }
 +
}</nowiki>
 +
== Solve Nginx 504 Gateway Timeout ==
 +
Add the folowing lines to /etc/nginx/nginx.conf
 +
<nowiki>http {
 +
        ...
 +
        proxy_connect_timeout  600;
 +
        proxy_send_timeout      600;
 +
        proxy_read_timeout      600;
 +
        ...
 
}</nowiki>
 
}</nowiki>

Navigation menu