127.0.0.1
123.123.123.0/24
からのアクセスのみ許す場合
php artisan down --allow=127.0.0.1 --allow=123.123.123.0/24 --message="現在メンテナンス中です"
php artisan up
vi resources/views/errors/503.blade.php
resources/views/errors/503.blade.php
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>メンテナンス中</title>
<style>
body {
background: #f4f4f4;
color: #333;
font-family: sans-serif;
text-align: center;
padding: 100px;
}
h1 {
font-size: 50px;
}
</style>
</head>
<body>
<h1>現在メンテナンス中です</h1>
<p>しばらくしてから再度アクセスしてください。</p>
</body>
</html>