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

2017-04-10 Thread zaidahmd
Hi Maxim, Thanks for the response. As you said below, > Instead, it issues a > subrequest for every incoming request, and allows further > processing of the request if and only if the subrequest returns > 200. This means my authentication service will be getting a subrequest to /login everyt

Re: Mechanism to avoid restarting nginx upon every change

2017-04-10 Thread Alex Samad
But long live sessions are closed and I've had lua session information persist with a reload. Needed a restart A On Sun, 9 Apr 2017 at 21:35, B.R. via nginx wrote: > You could have got your answer yourself by Reading The... Fine? Manual: > https://nginx.org/en/docs/control.html > > There are ton

Re: Nginx upstream server certificate verification

2017-04-10 Thread Sergey Kandaurov
> On 6 Apr 2017, at 21:46, shivramg94 wrote: > > Thank Sergey, for you response. > > I have one more question. If I have multiple upstream server host names in > the upstream server block, then how can I specify the specific upstream > server host name to which the request is being proxied, in

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

2017-04-10 Thread Maxim Dounin
Hello! On Mon, Apr 10, 2017 at 04:42:25AM -0400, zaidahmd wrote: > I am trying to implement the NGINX API gateway in nginx 1.10.3 community > version. I am facing the issue that NGINX is not forwarding the request to > authentication service. nginx configuration is pasted at the end of this > thr

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

2017-04-10 Thread zaidahmd
Hi, I am trying to implement the NGINX API gateway in nginx 1.10.3 community version. I am facing the issue that NGINX is not forwarding the request to authentication service. nginx configuration is pasted at the end of this thread. I have written authentication service which is listening for lo

Re: Mechanism to avoid restarting nginx upon every change

2017-04-10 Thread B.R. via nginx
You could have got your answer yourself by Reading The... Fine? Manual: https://nginx.org/en/docs/control.html There are tons of interesting pieces of informations there, by the nature of said docs... ​I suggest you take a look at everything: https://nginx.org/en/docs/​ --- *B. R.* On Sun, Apr 9,