News

Laravel Cloud Adds Path Blocking to Prevent Bots From Waking Hibernated Apps

Published

Laravel Cloud has added a new Path Blocking feature designed to keep hibernated applications from waking up because of unwanted bot traffic.

If you have an app in hibernation, random requests from bots probing common paths like wp-admin, .php, or .env can cause the app to wake up unnecessarily. That means extra wake events from traffic you never wanted in the first place.

With Path Blocking enabled, Laravel Cloud can ignore those requests entirely so they do not trigger wakeups, events, or unnecessary activity.

Editors Note: This is now enabled by default for all new applications on Laravel Cloud.

Why this matters

Bots constantly scan the web looking for common admin URLs, config files, and sensitive endpoints. Even if your Laravel app is not serving those paths, the request itself can still wake a hibernated app.

This new setting acts like a filter in front of those requests so your app stays asleep unless it receives traffic that actually matters.

How to enable Path Blocking

You can enable it from your Laravel Cloud project settings:

Go to:

Settings -> Network -> Edge Network Settings -> Configure -> Firewall -> Path Blocking

Then toggle it on and save. Once enabled, blocked paths and extensions will be ignored and will no longer trigger wakeups.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Sponsored

acquaintsoft logo
Acquaint Softtech

Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Visit Acquaint Softtech

The latest

View all →
Laravel Image Responses: Serve Resized Images From Routes image

Laravel Image Responses: Serve Resized Images From Routes

Read article
Pause All Laravel Queues During a Deploy image

Pause All Laravel Queues During a Deploy

Read article
Laravel Terminal UI for the artisan dev Command image

Laravel Terminal UI for the artisan dev Command

Read article
Pause All Queues and a New artisan dev UI in Laravel 13.25 image

Pause All Queues and a New artisan dev UI in Laravel 13.25

Read article
Laravel monitoring that doesn't bill you by your traffic image

Laravel monitoring that doesn't bill you by your traffic

Read article
Mock PHP Classes in Tests With the Double Library image

Mock PHP Classes in Tests With the Double Library

Read article