It’s possible to use regex in the listen_path
? I would like to do a better match on the version
.
"proxy": {
"listen_path": "/v{version}/events",
"strip_listen_path": true
}
It’s possible to use regex in the listen_path
? I would like to do a better match on the version
.
"proxy": {
"listen_path": "/v{version}/events",
"strip_listen_path": true
}
Yes it is.
"proxy": {
"listen_path": "/v{test:[\d]+}/events/",
"strip_listen_path": true
}
Why test: is present in listen path regex? Could you please help here understanding this. Thanks in advance.
"proxy": { "listen_path": "/v{test:[\d]+}/events/", "strip_listen_path": true }