Welcome! Log In Create A New Profile

Advanced

Re: Proxy uploading

July 29, 2010 09:18AM
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@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Proxy uploading

Tim Child July 29, 2010 05:54AM

Re: Proxy uploading

Igor Sysoev July 29, 2010 08:58AM

Re: Proxy uploading

Tim Child July 29, 2010 09:16AM

Re: Proxy uploading

Igor Sysoev July 29, 2010 09:18AM

Re: Proxy uploading

Tim Child July 29, 2010 03:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 236
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready