HAProxy receives an header called “X-Cf-Forwarded-Url” with value https://new-hello-app.apps.px-npe.cf.xxx.com/greeting?name=sen and when HAproxy making backend server call, need to capture “new-hello-app.apps.px-npe.cf.xxx.com” from X-Cf-Forwarded-Url and set it to “Host” header.
Can someone help with this regex, which need to be used in backend section?