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

tOmasEn tomasen at gmail.com
Sun Dec 6 16:37:00 MSK 2009


after reading error log. the reason apears to be  Permission denied for
proxy_temp directory.

Sorry for your time.

On Sun, Dec 6, 2009 at 5:37 PM, Igor Sysoev <igor at sysoev.ru> wrote:

> On Sun, Dec 06, 2009 at 12:42:30PM +0800, tOmasEn wrote:
>
> > 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_add_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 .
>
> What is in error_log ?
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



-- 
Tomasen
http://twitter.com/ShooterPlayer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20091206/09d3b819/attachment.html>


More information about the nginx mailing list