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* api as payload). I learnt that `body_filter_by_lua` does not work with internal redirects, are thby latha - Nginx Mailing List - English
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; return 200 "testing"; } location ~ /v2/test(.*)$ { proxy_method GETby latha - Nginx Mailing List - English