Skip to content
Archive of posts tagged cloudflare

Preventing your site from idling out with Cloudflare workers

Azure might just put your app into idle state if it’s inactive for too long. The always on feature is available only for higher app plans. However the same functionality can be achieved by just making http calls with cloudflare workers. Let’s just create a simple listener: Ant then we just add a cron trigger […]

Hardening poorly configured services with Cloudflare workers

It seems that Azure is sending x-powered-by header from asp.net, and also the php version. Removing the asp.net header is easy with web.config changes, but the php is tricker. I decided to remove these unwanted header with cloudflare worker-script. Here’s a simple workes which will remove the x-powered-by headers from your responses.

Serving static pages with a custom domain with Cloudflare and github pages

The idea is pretty cool. You can serve static web-pages for free with your own domain with Cloudflare and Github Pages. The Cloudflare is handling the DNS, page caching, and the TSL certificate. The the pages itself are hosted by github. Here’s a quick tutorial how to do it. Cloudflare Set the DNS to point […]