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
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;
Hello,
I want to call REST endpoint after successful (200/201) status from
upstream server. For error cases, I know we can use error_page/try_files
etc. But for success cases, I did not find any directive to use. I read
about `mirror` which can be used to call another server before making the
cal