Ci4 site offline - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Ci4 site offline (/showthread.php?tid=82918) |
Ci4 site offline - chakycool - 09-04-2022 Hi, I need to upgrade my RDS and my Ci4 instance got couple of web pages that do different things. What is the best way to put the site offline while the DB is offline. Easiest method I could think was to route the Load balancer to a temp file (S3) but I was just wondering if there was a neater way of doing it via Ci4. Thank you. RE: Ci4 site offline - kenjis - 09-05-2022 See https://github.com/arashsaffari/maintenancemode RE: Ci4 site offline - chakycool - 09-05-2022 Thank you Kenjis, I will give it a go. Out of the box the code is outdated and giving some errors Looks like I need to put some effort to fix this. |