During the upgrade of kong from 2.2.0 to 2.3.2 we saw a difference on the X-Forwarded-Prefix. We have a custom plugin to manage this and we are doing this:
after the upgrade this function not works and with strip_path: false the X-Forwarded-Prefix was not ended to the upstream.
After a further investigation, we find that if we use:
ngx.var.upstream_x_forwarded_prefix = location
the plugins start to work.
Any recommendation for this case?