Welcome! Log In Create A New Profile

Advanced

Re: Nginx - API Gateway is not forwarding the request to Auth Service

Francis Daly
April 13, 2017 07:36PM
On Thu, Apr 13, 2017 at 01:00:20AM -0400, zaidahmd wrote:

Hi there,

> > I've read your description, and I confess I'm not sure what benefit
> > auth_request within nginx gives you. It looks like your application is
> > doing its own auth check on every request anyway, so having nginx do
> > the same thing seems redundant. I'm probably missing something.
>
> can u please tell me the concept and usage of auth_request module. What I

My understanding is that the auth_request module is especially useful
if you want some degree of authorization, but the application you want
to protect does not implement it.

> understood from the documentation is stated
> below."http://nginx.org/en/docs/http/ngx_http_auth_request_module.html"

For what it's worth, when I read the above url, the understanding I come
to does not exactly match the paragraph you write.

But that does not really matter: you have a configuration that does what
you want it to do. So what you have is good.

If you particularly want to test whether auth_request does anything
useful in your case, use a test system with the same configuration,
and remove the auth_request lines. If the effective behaviour changes,
then the lines were doing something that matters.

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

Nginx - API Gateway is not forwarding the request to Auth Service

zaidahmd April 10, 2017 04:42AM

Re: Nginx - API Gateway is not forwarding the request to Auth Service

Maxim Dounin April 10, 2017 08:14AM

Re: Nginx - API Gateway is not forwarding the request to Auth Service

zaidahmd April 11, 2017 02:04AM

Re: Nginx - API Gateway is not forwarding the request to Auth Service

zaidahmd April 11, 2017 03:51AM

Re: Nginx - API Gateway is not forwarding the request to Auth Service

Francis Daly April 11, 2017 07:50AM

Re: Nginx - API Gateway is not forwarding the request to Auth Service

zaidahmd April 12, 2017 05:50AM

Re: Nginx - API Gateway is not forwarding the request to Auth Service

Francis Daly April 12, 2017 05:46PM

Re: Nginx - API Gateway is not forwarding the request to Auth Service

zaidahmd April 13, 2017 01:00AM

Re: Nginx - API Gateway is not forwarding the request to Auth Service

Francis Daly April 13, 2017 07:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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