Welcome! Log In Create A New Profile

Advanced

Auth request module header passing

August 30, 2012 03:46AM
Hi Maxim,
Many thanks to your work!

I am using auth req module and have experienced the following problem (issue).
I can't get the headers to be passed to auth backend from initial request.

location /initial {
auth_request /auth
}

location /auth {
proxy_pass <authServiceURL>;
proxy_set_header X-Header $http_x_header_from_request;
}

Unfortunately, auth service does not receive the X-header.
Do I understand correct that auth_req module does not receive headers from initial request?

Thanks in advance,
Oleksiy
Subject Author Posted

Auth request module header passing

mokriy August 30, 2012 03:46AM

Re: Auth request module header passing

mokriy August 30, 2012 06:31AM

Re: Auth request module header passing

Bob Stanton August 31, 2012 02:24PM

Re: Auth request module header passing

mokriy September 03, 2012 02:53AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 69
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