I have received this error whenever I try to generate large reports with my App in PHP. It does not end the generation and ends the connection by not downloading it. Nginx.conf user nginx; worker_processes auto; error_log /var/log/nginx/error.log debug; pid /var/run/nginx.pid; events { worker_connections 2048; } http { server_names_hash_max_size 512; seby rodrigobuch - Nginx Mailing List - English