Kong redirect is used to rewrite the Location based on response Code
$ luarocks install kong-plugin-myredirect
root