my api config
“proxy”: {
“preserve_host_header”: false,
“listen_path”: “/v1/categories/{?:.*}/promotion”,
“target_url”: “http://local-test-url/v1/gateway/categories/{?:.*}/promotion”,
“disable_strip_slash”: false,
“strip_listen_path”: false,
}
"Upstream request URL: /v1/categories/8f9ff163ed8f-yewtfw35728/promotion"
level=debug msg="Outbound request URL: http://local-test/v1/gateway/categories/%7B/v1/categories/8f9ff163ed8f-yewtfw35728/promotion?:.*}/promotion"
its appending listen path in target url