Welcome! Log In Create A New Profile

Advanced

Re: Header is not passed to proxy

Maxim Dounin
August 31, 2012 05:54PM
Hello!

On Wed, Aug 29, 2012 at 12:42:28PM -0400, mokriy wrote:

> Hi Maxim, thanks a lot for your moduel. it was extremely useful for me.
>
> I have the following config:
> location /upload {
> auth_request /auth;
> ...
> location /auth {
> proxy_pass <authserviceURL>;
> }
>
> The initial request to /upload has header. I have supposed this header to be
> propogated down to <authserviceURL>. But this does not happen.
>
> Question: does it mean that i have to use $request_uri instead of header
> propogation?

I don't really understand the question, but original request
headers are passed to auth service by default. If it doesn't work
for you - probably you did something wrong.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Header is not passed to proxy

mokriy August 29, 2012 12:42PM

Re: Header is not passed to proxy

mokriy August 30, 2012 06:31AM

Re: Header is not passed to proxy

Maxim Dounin August 31, 2012 05:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 93
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready