Manipulating path while routing the request through vpn configurations
Hi Community,
I want to define a rule in the cdn.yaml using the origin selector as described in the documentation https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/content-delivery/cdn-configuring-traffic#origin-selectors that would route the traffic for a particular path to an external website (www.website.com).
Something similar to
originSelectors: rules: - name: blogs when: allOf: - reqProperty: tier equals: publish - reqProperty: domain equals: <our domain> - reqProperty: path matches: "^/en-us/prefix/.*"
However, prior the routing I want to manipulate the path, so the /prefix part is eliminated and for the /en-us/prefix/page path it would send a request to www.website.com/en-us/page.
We have this logic working at the dispatcher tier using the ProxyPass directive. I am trying to understand if the same logic can be handled at the cdn level.
Regards,
Rustam