November 02, 2015 05:37PM
Hi,

I have set `log_subrequest on;` at the http level and I am using to `auth_request` to a location that does a `proxy_pass` but I am not seeing the details of the auth subrequest in the access.log. Should this work?

Conf:

> log_subrequest on;
> server{
> location / {
> auth_request /authorize;
> # ...
> }
> location /authorize {
> proxy_pass http://authserver/doauth;
> }
> }

Regards,

Jason
Subject Author Posted

log_subrequest and auth_request

jstangroome November 02, 2015 05:37PM

Re: log_subrequest and auth_request

Maxim Dounin November 05, 2015 12:34PM

Re: log_subrequest and auth_request

jstangroome November 07, 2015 07:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 155
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready