A symfony website can be displayed as unavailable:
- When an application has been disable by
php symfony project:disable
- During the cache clearing, if the
check_lock option is checked in
In these cases, symfony looks for a
unavailable.php file and let you choose where you prefer to put it:
Useful if you want to have a different version for each application
The main configuration folder of your project
If you want, you can grab the original file and modify it.
Don't forget to clear your cache.
Display the "Website Temporarily Unavailable" page to test it
Disable your frontend in dev environement.
php symfony project:disable frontend dev