Re: X-Accel-Redirect not redirecting to named locaiton

2020-07-19 Thread Francis Daly
On Wed, Jul 08, 2020 at 03:52:14AM -0400, latha wrote: Hi there, > I want to pass the response body of > http://test.svc.cluster.local:9080/v2/test/* apis to named location > `acreate` which does proxy_pass to another micro-service (which takes the > response of /v2/test* api as payload). I learn

Re: X-Accel-Redirect not redirecting to named locaiton

2020-07-08 Thread latha
Thank you Francis Daly. Jumping to named location worked in my env also. I have another issue now: I want to pass the response body of http://test.svc.cluster.local:9080/v2/test/* apis to named location `acreate` which does proxy_pass to another micro-service (which takes the response of /v2/test

Re: X-Accel-Redirect not redirecting to named locaiton

2020-07-01 Thread Francis Daly
On Tue, Jun 30, 2020 at 09:19:40PM -0400, latha wrote: Hi there, > I have the below config, calling /v2/test/status calls the > http://test.svc.cluster.local:9080/status. But the named location `acreate` > is not being called. http://test.svc.cluster.local:9080/status does return > `X-Accel-Red

X-Accel-Redirect not redirecting to named locaiton

2020-06-30 Thread latha
I have the below config, calling /v2/test/status calls the http://test.svc.cluster.local:9080/status. But the named location `acreate` is not being called. http://test.svc.cluster.local:9080/status does return `X-Accel-Redirect: @acreate` in response header. location @acreate { internal;