Is there a way to automatically show maintenance mode in Laravel when the server is down? I know there is command php artisan down
or upload down file to store/framework
, but when server is down, I can't upload or call the command.
How to show maintenance mode when server is down?
Use a load balancer
Use cloudflare, but it won't show a maintenance screen, just that the website is offline