Change the base path
Every actuator route lives under the base_path prefix, actuator by default.
Change the prefix
Section titled “Change the prefix”Set ACTUATOR_BASE_PATH in the environment:
ACTUATOR_BASE_PATH=manageOr set base_path in the published configuration file:
'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.
Keep maintenance mode working
Section titled “Keep maintenance mode working”The package lets requests under base_path through during maintenance mode, so the readiness
probe can report OUT_OF_SERVICE. This needs a prefix.
Rebuild cached routes
Section titled “Rebuild cached routes”If you cache routes, rebuild the cache after the change:
php artisan route:clearphp artisan route:cache