Proxy uploading

Tim Child tim at timc3.com
Thu Jul 29 23:24:12 MSD 2010


Great! Thanks for the help. 



On 29 Jul 2010, at 15:14, Igor Sysoev <igor at sysoev.ru> wrote:

> On Thu, Jul 29, 2010 at 03:11:13PM +0200, Tim Child wrote:
> 
>>> These directives hide/pass header from upstream to client:
>> 
>> I don't need as far as I know to send the Cookie and Referer to the upstream server, but the content-length is needed for the file I think.
>> 
>>> 
>>>>          proxy_hide_header Referer;
>>>>          proxy_hide_header Cookie;
>>>>          proxy_pass_header Content-Length;
> 
> If you do not want to pass Cookie and Referer to the upstream, then you
> should use:
> 
>      proxy_set_header   Cookie    "";
>      proxy_set_header   Referer   "";
> 
> 
> -- 
> Igor Sysoev
> http://sysoev.ru/en/
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list