Vapor: Bypassing Maintenance Mode

Mohamed Said
Mohamed Said

When putting your application in maintenance mode using the vapor down command, your application will respond with a status code of 503 on every request.

Beginning today, you may use the secret option on the vapor down command to specify a maintenance mode bypass token:

vapor down --secret=1630542a-246b-4b66-afa1-dd72a4c43515

You may then navigate to the application URL matching this token and Vapor will issue a maintenance mode bypass cookie to your browser:

https://example.com/1630542a-246b-4b66-afa1-dd72a4c43515

After accessing this hidden route, you will then be redirected to the / route of the application. Once the cookie has been issued to your browser, you will be able to browse the application normally as if it was not in maintenance mode.

To use this feature, you need to make sure your application is using these versions:

  • laravel/framework v8.0+
  • laravel/vapor-core v2.9.3+
  • laravel/vapor-cli v1.9.4+


At Larasoft.io Ltd. We offer SEO agency London at an unbeatable cost. Our main motive only is customer satisfaction.

Mohamed Said
Mohamed Said

Latest Stories

Here’s what we've been up to recently.

Request a code sample

Certified Quality. Great Prices

We use cookies to improve your experience and to help us understand how you use our site. By using this site, you accept our use of cookies. Cookie Infox