auth_request not passing query string

Francis Daly francis at daoine.org
Tue May 11 21:30:44 UTC 2021


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 at daoine.org


More information about the nginx mailing list