David
David
CDCloudflare Developers
Created by David on 9/24/2024 in #general-help
Would this WAF rule work the way I want it to?
No description
14 replies
CDCloudflare Developers
Created by David on 1/2/2024 in #general-help
Self hosting a media uploading service routed trough Cloudflare (At least on the DNS side)
Hello there! I started running my own media uploading service and need to figure out routing. For testing, I used Cloudflare Tunnels, I haven't uploaded any (large) media on it, but from what I saw, uploads worked fine. I have since closed that tunnel and now need to figure out a different way of routing my service through my domain. My service runs on port 8020, which an A record won't handle. I have read that serving large amounts of content through Cloudflare is not allowed on the Free plans. Is there some alternative that I could use, ideally something free? Thanks!
1 replies
CDCloudflare Developers
Created by David on 12/28/2023 in #general-help
WAF - Create a rule that blocks multiple full URLs unless one specific IP tries to access them.
Hey there! I started hosting a simple uploading server and I need to block a few URLs on Cloudflare's side. I put the webserver behind cloudflared and gave it the subdomain "upload". There are multiple paths (/, /paste, /upload and /API) which I need to block unless my IP tries to access them. I have a static IP, this rule won't have to be updated. I want every other path to be accessible by anyone. I tried: If incoming requests match.. IP source address - doesn't equal - (my IP) - and - URI full - does equal - https.//upload.dvidpi.ovh/ - or - URI full - does equal - etc... etc.. until I listed out all the paths. - then.. - block It does work, although only for the root (/) everything else is accessible from a different IP. Is this possible? Thanks.
28 replies