Maintenance Mode without using Artisan?

后端 未结 5 572
日久生厌
日久生厌 2020-12-02 10:25

I\'m just wondering if anyone know\'s if there\'s a way to activate maintenance mode on a laravel website without using Artisan? I don\'t have command line access to the ser

5条回答
  •  天命终不由人
    2020-12-02 10:50

    In laravel 5.6, the location of the "down" file has moved slightly.

    It's new location is:

    ./storage/framework/down

    Laravel 5.6 has added some contents to the "down" file, although an empty file is still effective. You get a "503 Service Unavailable" page, by default.

    Simply remove the "down" file when you're finished.

提交回复
热议问题