truncated output for large files through proxy

James Lee lista at
Mon Jun 17 10:56:31 UTC 2013

On 16/06/2013 02:37, Maxim Dounin wrote:


> Could you please provide debug log, nginx -V output and a minimal
> full config to reproduce the problem?

*** cut down http.conf ***

error_log  /path/to/logs/error.log debug;

events {
     worker_connections  1024;
     use eventport;

http {
     server {
         listen       80;
         server_name  domain.local;

         location ^~ / {
             proxy_pass        http://localhost:9000;
             proxy_set_header  Host $host;

*** workaround ***

remove "use eventport;".  This was added as per:
It uses "devpoll" by default.

*** debug log ***

Attached as "nginx.debug.log.bz2"

*** nginx -V ***

# nginx -V
nginx version: nginx/1.4.1
TLS SNI support enabled
configure arguments: --prefix=/opt/PREFIX 
--lock-path=/var/opt/PREFIX/nginx/nginx.lock --user=webservd 
--group=webservd --without-mail_pop3_module --without-mail_imap_module 
--without-mail_smtp_module --with-http_gzip_static_module 
--with-http_realip_module --with-http_ssl_module 
--with-http_stub_status_module --with-debug

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx.debug.log.bz2
Type: application/x-bzip
Size: 4619 bytes
Desc: not available
URL: <>

More information about the nginx mailing list