Remapping GraphQL APi in proxy pass to the main domain

I have this situazion:
main domain www.example.com ( next.js application )
we have api.graphql.com/api/graphql ( post ) that are used from the web application

My goal is to remap api.graphql.com/api/graphql in a proxypass rule like this

www.example.com/api/graphql (post ) ↔ CF ( proxy pass with cache ) ↔ api.graphql.com/api/graphql (post )

is there an easy way to setup this proxy pass in CF ?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.