Laravel - artisan down / Maintenance Mode except own IP

后端 未结 6 1860
Happy的楠姐
Happy的楠姐 2021-02-14 16:38

Currently i am using Laravel5. My question is if if i use the Maintenance mode with

php artisan down

how can say \"the application is down for

6条回答
  •  旧巷少年郎
    2021-02-14 17:03

    Now you can use php artisan down --allow=127.0.0.1, or of course change the IP to something else. Multiple IPs are also supported, networks are also supported.

    Not sure when this was implemented but is working fine for me in 5.6

提交回复
热议问题