Gasper
Gasper
CDCloudflare Developers
Created by Gasper on 8/16/2023 in #workers-help
Reverse Proxy x Shopify
We're transitioning to Shopify but facing limitations in checkout, payments, and currency handling. So, separate stores are needed for each region: US (USD), UK (GBP), EU (EUR). Traditionally, these would be on subdomains: US: domain.com EU: eu.domain.com UK: uk.domain.com For better SEO and user experience, we prefer subdirectories: US: domain.com/us/ EU: domain.com/eu/ UK: domain.com/uk/ Despite this, three Shopify stores remain (us.domain.com, eu.domain.com, uk.domain.com). Idea is to use Cloudflare Workers as reverse proxy. Prototype works for general content but not Shopify sites, throwing "You do not have permission to access this website." We suspect Cloudflare's dual interaction with Shopify might create constraints due to "orange-to-orange" (O2O) conflicts. Finding detailed insights has been a challenge. Any resources on these constraints? Is our plan as described above even feasible?
3 replies