possible bug? https return truncated when use default proxy buffer size

tOmasEn tomasen at gmail.com
Sun Dec 6 07:42:30 MSK 2009

Here is the problem I found out.

Front-End https Conf:
    server {
        listen       443;
          location / {
                  proxy_pass      http://backend;
                  proxy_set_header  X-Forwarded-For
                  proxy_set_header Host $http_host;
                  proxy_redirect off;



if use default  proxy_buffer_size (not set it), when backend output
something bigger than 64k without content-length header. the frontend https
will truncate the output to 64k.

After I set
proxy_buffer_size 1024 4k;

Everything works like normal. Using 0.8.29 .

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20091206/b97670c7/attachment-0001.html>

More information about the nginx mailing list