Welcome! Log In Create A New Profile

Advanced

Re: auth_request not passing query string

Francis Daly
May 11, 2021 05:32PM
On Tue, May 11, 2021 at 04:17:24PM -0400, rsavignon wrote:

Hi there,

> Hi All, i'm trying to configure a auth based static files server using
> nginx, but its not working because, i suppose, the $request_uri is not being
> forwarded to the auth endpoint. Does auth_request support relaying
> $request_uri ? If someone could give a tip i would be very grateful.

What does the server at https://validation.mysite.com/validate/ see in
the X-Original-URI header that it receives?

> location /validate {
> proxy_pass https://validation.mysite.com/validate/;
....
> proxy_set_header X-Original-URI $request_uri;
> }

And if that is not what it wants to see: what does it want to see instead?

Cheers,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

auth_request not passing query string

rsavignon May 11, 2021 04:17PM

Re: auth_request not passing query string

Francis Daly May 11, 2021 05:32PM

Re: auth_request not passing query string

rsavignon May 11, 2021 07:05PM

Re: auth_request not passing query string

Francis Daly May 11, 2021 07:40PM

Re: auth_request not passing query string

rsavignon May 12, 2021 09:55AM

Re: auth_request not passing query string

Francis Daly May 12, 2021 10:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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