cloudflare workers: add auth to free Gitbook space

Gitbook is simple, easy and free way of keeping notes under your own domain. However, it is NOT possible to set password protection when you do not want anyone access to your resources except you or your team for free. (More information: https://docs.gitbook.com/features/visitor-authentication) Nice news is that it is possible to set password protection even though you are on free tier with some tricks. First of all, for this example, your custom domain should be configured to Cloudflare, since I will use Cloudflare Workers to setup Basic Authentication in between you and Gitbook origin....

June 28, 2022 · 4 min · mrturkmen

cloudflare tunneling: serve local like not local

Would like to see it in action right away ? Go to demonstration video here: I am always amazed with Cloudflare’s products, blog posts and tools that they are offering. In my spare time, I am trying to read through blog posts over here Cloudflare Blog. Some of them are really easy to consume, some are not, you might need to have an idea about network related terms, or need to follow Cloudflare closely to catch on the blog posts....

March 20, 2022 · 4 min · mrturkmen