This works!
Although this still requires an extra line for each new location,
which might be forgotten by a collaborator, but this configuration
is definitely viable.
Thanks a lot!
On Wed, 12 Oct 2022 at 15:44, Maxim Dounin wrote:
> Hello!
>
> On Wed, Oct 12, 2022 at 11:04:50AM +0200, Anders
Hello!
On Wed, Oct 12, 2022 at 11:04:50AM +0200, Anders Nicolaisen via nginx-devel
wrote:
> Thanks!
> This does make sense, and one might be able to create a somewhat working
> example using this.
>
> However, this seems to introduce a couple of drawbacks, and kind of
> breaks the semantics of
Thanks!
This does make sense, and one might be able to create a somewhat working
example using this.
However, this seems to introduce a couple of drawbacks, and kind of
breaks the semantics of the 'auth_request'.
Let me illustrate:
First of all, having auth_request in the server context guards a
Hello!
On Tue, Oct 11, 2022 at 01:04:36PM +0200, Anders Nicolaisen via nginx-devel
wrote:
> I have tried your suggestion, but it seems to not quite fit my use case.
>
> Does your suggestion not eliminate the authentication server entirely
> for any upstream servers?
>
> My preferred use case w
Hi!
Thank you for the answer!
I have tried your suggestion, but it seems to not quite fit my use case.
Does your suggestion not eliminate the authentication server entirely
for any upstream servers?
My preferred use case would be to have auth_request intercept all calls,
and only relay the acce
Hello!
On Fri, Oct 07, 2022 at 12:52:58PM +0200, Anders Nicolaisen via nginx-devel
wrote:
> Having the authentication server handling the 429_TOO_MANY_REQUESTS,
> allows it to accommodate users with varying limits;
> e.g. user1 is allowed 3 requests per second, and user2 is allowed 10 r/s.
The
e
# Parent ba5cf8f73a2d0a3615565bf9545f3d65216a0530
[nginx] allowing auth_request to proxy TOO_MANY_REQUESTS
diff -r ba5cf8f73a2d -r 1d2e22110b6a
src/http/modules/ngx_http_auth_request_module.c
--- a/src/http/modules/ngx_http_auth_request_module.c Thu Sep 08 13:53:49
2022 +0400
+++ b/src/http/modules/ngx_http_auth_request_module.c