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

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
Screenshot: Capture Images and PDFs with PHP and Laravel image

Screenshot: Capture Images and PDFs with PHP and Laravel

Read article
Reset Sticky Database Connections Between Laravel Queue Jobs image

Reset Sticky Database Connections Between Laravel Queue Jobs

Read article
PHP Security Releases Fix Two Critical RCE Vulnerabilities image

PHP Security Releases Fix Two Critical RCE Vulnerabilities

Read article
Prevent Stale Database Reads in Laravel 13.38 image

Prevent Stale Database Reads in Laravel 13.38

Read article
Critical PHP Security Release Coming Tomorrow (October 21) image

Critical PHP Security Release Coming Tomorrow (October 21)

Read article
Critical Token Guard Auth Bypass Fixed in Laravel 13.29 and 12.68 image

Critical Token Guard Auth Bypass Fixed in Laravel 13.29 and 12.68

Read article