truncated output for large files through proxy
James Lee
lista at oxdrove.co.uk
Mon Jun 17 10:56:31 UTC 2013
On 16/06/2013 02:37, Maxim Dounin wrote:
Hello,
>
> 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:
http://wiki.nginx.org/NginxOptimizations
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
--http-client-body-temp-path=/var/opt/PREFIX/nginx/client
--http-fastcgi-temp-path=/var/opt/PREFIX/nginx/fastcgi
--http-uwsgi-temp-path=/var/opt/PREFIX/nginx/uwsgi_temp
--http-scgi-temp-path=/var/opt/PREFIX/nginx/scgi
--http-proxy-temp-path=/var/opt/PREFIX/nginx/proxy
--conf-path=/etc/opt/PREFIX/nginx/nginx.conf
--error-log-path=/var/opt/PREFIX/nginx/logs/error.log
--http-log-path=/var/opt/PREFIX/nginx/logs/access.log
--pid-path=/var/opt/PREFIX/nginx/nginx.pid
--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
James.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx.debug.log.bz2
Type: application/x-bzip
Size: 4619 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130617/a4c4a4cd/attachment.bin>
More information about the nginx
mailing list