How to add Cloudflare maintenance worker.
Channel: FANATICUS
Date: 2021-08-21

How to put your site in maintenance without disturbing your backend and without touching other places like domain redirect.
If you maintain your DNS on Cloudflare, it's easy to do with cloudflare worker, and a route of the site you want to put in maintenance.
Here is the given code snippet for worker:
*********************************************

Code Snippet Link:
https://github.com/ramkrishna70/my-signature/blob/10204ffa6647bcadd4241d8608c3765e2bab94ea/cloudflare%20worker

*********************************************
#fanaticus #dns #devops