Skip to content

Change the base path

Every actuator route lives under the base_path prefix, actuator by default.

Set ACTUATOR_BASE_PATH in the environment:

.env
ACTUATOR_BASE_PATH=manage

Or set base_path in the published configuration file:

config/actuator.php
'base_path' => env('ACTUATOR_BASE_PATH', 'manage'),

The endpoints move to /manage, /manage/health, /manage/info and so on. The old /actuator paths return 404.

Nested prefixes work too, for example internal/actuator.

Update everything that calls the old paths: probe definitions, load balancer health checks and monitoring tools.

The package lets requests under base_path through during maintenance mode, so the readiness probe can report OUT_OF_SERVICE. This needs a prefix.

If you cache routes, rebuild the cache after the change:

Terminal window
php artisan route:clear
php artisan route:cache