-2

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?

Gino Mempin
  • 25,369
  • 29
  • 96
  • 135
MRustamzade
  • 1,425
  • 14
  • 27

1 Answers1

3
  1. Use a load balancer

  2. Use cloudflare, but it won't show a maintenance screen, just that the website is offline

Gino Mempin
  • 25,369
  • 29
  • 96
  • 135
Insax
  • 612
  • 4
  • 10