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

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
UUID Request Input and Migration Failure Events in Laravel 13.42 image

UUID Request Input and Migration Failure Events in Laravel 13.42

Read article
Replay Missed Laravel Scheduled Tasks With Schedule Catchup image

Replay Missed Laravel Scheduled Tasks With Schedule Catchup

Read article
Search Polymorphic Relations and Filament Tables With Laravel Searchable image

Search Polymorphic Relations and Filament Tables With Laravel Searchable

Read article
Laravel Rest Api 3.0: Typed Fields, Metrics, and OpenAPI Docs image

Laravel Rest Api 3.0: Typed Fields, Metrics, and OpenAPI Docs

Read article
Real-Time Inertia Props With Laravel Reverb image

Real-Time Inertia Props With Laravel Reverb

Read article
PhpStorm 2026.3 Adds an Agent Workspace and PHP 8.6 Support image

PhpStorm 2026.3 Adds an Agent Workspace and PHP 8.6 Support

Read article