mb0x88
mb0x88
CDCloudflare Developers
Created by mb0x88 on 2/14/2024 in #general-help
Cloudflare cookie blocked by cross site trackers
I have a wordpress site behind CF access + and R2 bucket serving images and media also behind CF access, each on separate subdomains. When I first load the site the images don't load, because the image url is being redirected to auth with cloudflare access, it is not sharing the auth cookie I believe because it is on a different subdomain. If i load the image url in a separate tab, the image loads and I believe stores the cookie for that domain(Same CF_Authorization cookie as wordpress subdomain), then the images load on the main wordpress site no problem(I'm assuming because it has the cookie stored under both subdomains now) Is there a way around this without asking users to disable cross site tracking in safari and brave(shields)? I have tried adding CORS allow rules for the R2 bucket to no avail.
4 replies
CDCloudflare Developers
Created by mb0x88 on 9/5/2023 in #pages-help
Tagging causes error on wrangler - API token not available
No description
7 replies
CDCloudflare Developers
Created by mb0x88 on 7/18/2023 in #pages-help
Deploy to pages specifying production or preview from a gitlab CI/CD pipeline
We have a CI/CD pipeline that publishes our repo to cloudflare pages from a private gitlab, however I want to be able to select preview or production using gitlab, not the default system where it uses preview builds for extra branches until you merge into main. How do i achieve this? Is there a way to pass an environment variable from gitlab to cloudflare pages to specify which environment to publish to preview or production?
9 replies