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
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
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
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;