Nginx: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
These options are necessary to configure in nginx configuration file usable contexts are (http, server, location): | These options are necessary to configure in nginx configuration file (by default /etc/nginx/nginx.conf) usable contexts are (http, server, location): | ||
proxy_buffer_size 128k; | proxy_buffer_size 128k; | ||
proxy_buffers 4 256k; | proxy_buffers 4 256k; |
Revision as of 13:04, 21 March 2016
These options are necessary to configure in nginx configuration file (by default /etc/nginx/nginx.conf) usable contexts are (http, server, location):
proxy_buffer_size 128k; proxy_buffers 4 256k; proxy_busy_buffers_size 256k; proxy_temp_file_write_size 256k;
Further links that can be usefull:
http://www.nginxtips.com/504-gateway-time-out-using-nginx/
http://stackoverflow.com/questions/561946/how-do-i-prevent-a-gateway-timeout-with-fastcgi-on-nginx