bnason
Explore posts from serversCDCloudflare Developers
•Created by bnason on 10/22/2024 in #general-help
Serve url on any subdomain
I think the Origin Rule I setup is working. I have to modify my app to add a base tag in the head so that all my scripts/images are properly loaded however. All that could be done in a worker/snippet but this seems to be the easier option for now.
9 replies
CDCloudflare Developers
•Created by bnason on 10/22/2024 in #general-help
Serve url on any subdomain
Not yet. I tihink I could also accomplish this via Workers AND snippets? Is there any benefit either way?
9 replies
CDCloudflare Developers
•Created by bnason on 10/22/2024 in #general-help
Serve url on any subdomain
The only thing in front of them all is CloudFlare
9 replies
CDCloudflare Developers
•Created by bnason on 10/22/2024 in #general-help
Serve url on any subdomain
We do not have a single load balancer in front of all the subdomains. Some are hosted internally while some are hosted by our software vendoer and we don't have any control over their lbs
9 replies
CDCloudflare Developers
•Created by bnason on 10/22/2024 in #general-help
Serve url on any subdomain
Would that be an Origin Rule? With expression of
(starts_with(http.request.uri.path, "/__debug"))
and then Host Header Rewrite
, SNI Rewrite
, and DNS Record Override
pointing to foo.example.com?9 replies
CDCloudflare Developers
•Created by bnason on 7/26/2024 in #general-help
Can't login to Dashboard
It works in an incognito window, but I don't want to have to use that forever.
3 replies
CDCloudflare Developers
•Created by bnason on 7/26/2024 in #general-help
Can't login to Dashboard
Yea I've tried clearing cache and cookies and it still won't work in my main browser.
3 replies
CDCloudflare Developers
•Created by bnason on 7/25/2024 in #workers-help
Using zlib.deflateRaw
ahh i think it actually worked, I was just not returning anything so I was stuck with that error page for some reason
6 replies
CDCloudflare Developers
•Created by bnason on 7/25/2024 in #workers-help
Using zlib.deflateRaw
I've tried using the Compress Stream API as well but I get the same thing there:
6 replies
CDCloudflare Developers
•Created by bnason on 7/17/2024 in #workers-help
Worker on existing website
Ah I see I can set a url for 500 Class Errors under Custom Pages
12 replies
CDCloudflare Developers
•Created by bnason on 7/17/2024 in #workers-help
Worker on existing website
Is that visible in the web ui or just an api level feature?
12 replies
CDCloudflare Developers
•Created by bnason on 7/17/2024 in #workers-help
Worker on existing website
Also, could I intercept ALL 500 errors on all sites and modify the response from my worker?
12 replies
CDCloudflare Developers
•Created by bnason on 7/17/2024 in #workers-help
Worker on existing website
Awesome!
12 replies
CDCloudflare Developers
•Created by bnason on 7/17/2024 in #workers-help
Worker on existing website
I do see the
Workers Routes
page under the domain so I assume I'd manage it that way and not specify a custom domain?12 replies
CDCloudflare Developers
•Created by bnason on 7/17/2024 in #workers-help
Worker on existing website
So if I'm using a Nuxt project and I deploy that using Wrangler. Normally I'd set a custom domain, but would that then takeover the entire domain using that method? Or would it know only the routes for the Nuxt project?
12 replies
CDCloudflare Developers
•Created by bnason on 7/17/2024 in #workers-help
Worker on existing website
The DNS does currently resolve to Cloudflare but using the CNAME method since Cloudflare is not our primary DNS server (yet we are working on moving it over)
12 replies
CDCloudflare Developers
•Created by bnason on 6/25/2024 in #workers-help
Error 1101 on code surrounded by try/catch
As you can see it stops on
console.log(3)
but it should show console.log(6)
if there was an exception thrown!4 replies
CDCloudflare Developers
•Created by bnason on 6/25/2024 in #workers-help
Error 1101 on code surrounded by try/catch
This is what tailing the logs shows:
4 replies
CDCloudflare Developers
•Created by bnason on 6/25/2024 in #workers-help
Error 1101 on code surrounded by try/catch
4 replies
CDCloudflare Developers
•Created by bnason on 6/24/2024 in #workers-help
import is undefined
That did not seem to help unfortunately
4 replies