Skip to content

Sites

Configuration and tools

.env and nginx editors, PHP versions, workers, cron, Composer, Artisan, files and terminal.

๐Ÿ•ฐ๏ธ Configuration files with history

Every configuration file the panel edits is checked before it is applied and versioned, so a bad change is either refused or one click away from being undone.

Nginx

Config Files โ†’ Nginx Config edits the site's vhost. Save & Reload Nginx backs up the current file, writes the new one and runs nginx -t. If the test fails, the previous file is restored and nginx is not reloaded โ€” Nginx config test failed โ€” reverted.

Environment (.env)

.env Editor edits shared/.env as a form or as text. Secrets (APP_KEY, passwords and keys) are masked. Changes take effect on the next deploy, when caches are rebuilt โ€” deploy after saving.

History and restore

Nginx config history, PHP-FPM pool history, Worker config history and the .env history keep the last 50 versions of each file, encrypted, with a diff view and Restore this version. Changes made directly on the server are picked up as Changed outside the panel, and the first version is kept as Original โ€” before the first edit. A restore goes through the same checks as a normal save.

๐Ÿ˜ PHP

Switching versions

Deploy Settings โ†’ PHP Version โ†’ Switch moves the site to another installed PHP version (8.1โ€“8.5). The vhost is updated, checked with nginx -t and reverted if the check fails. Deploys always use the site's PHP version for Composer and Artisan.

PHP-FPM pool

PHP-FPM (admin) edits a dedicated pool for the site at /etc/php/<version>/fpm/pool.d/<domain>.conf. Save & Reload PHP-FPM tests the configuration with php-fpm -t and reverts it if the test fails. A starting template is shown when the site has no pool yet:

.env
[example.com]
user = www-data
group = www-data
listen = /run/php/php8.3-fpm-example.com.sock
pm = dynamic
pm.max_children = 10
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
pm.max_requests = 500

Note. A dedicated pool listens on its own socket. Point the vhost's fastcgi_pass to that socket in Nginx Config for the pool to receive the site's requests.

๐Ÿ‘ท Queue workers

Workers manages the site's Supervisor program. The configuration (admin) is edited as text; a template is created when you first start workers:

.env
[program:example.com-worker]
command=php8.3 /var/www/sites/example.com/current/artisan queue:work redis --sleep=3 --tries=3 --max-time=3600
numprocs=2
user=www-data
stopwaitsecs=3600

Start all, Stop all and Restart all control the workers. Deploys restart them automatically with queue:restart.

โฑ๏ธ Scheduler

Enable scheduler adds a cron entry that runs Laravel's scheduler every minute as www-data:

Text
* * * * * www-data php8.3 /var/www/sites/example.com/current/artisan schedule:run

System โ†’ Cron & queues shows, for every site, whether the scheduler ran in the last few minutes and whether its workers are running.

๐ŸŽผ Composer

Composer lists outdated packages. Update All, update a single package, or Upgrade (major) to the next major version (with a breaking-change warning). Commands run as www-data in the live release.

Warning. Composer changes made here apply to the running release only. Commit the updated composer.json and composer.lock to Git, or the next deploy brings back the old versions.

๐ŸŽจ Artisan

Artisan runs a fixed list of safe commands, one at a time, with live output:

cache:clear, config:cache, config:clear, view:clear, route:cache, route:clear, optimize, optimize:clear, migrate, migrate:status, migrate:rollback (asks for confirmation), queue:restart, storage:link, telescope:clear, horizon:terminate.

For anything else, use the terminal.

๐Ÿšง Maintenance mode

Maintenance โ†’ Enable Maintenance Mode runs php artisan down for Laravel sites; Take Site Online runs php artisan up. With a Bypass secret, visit https://example.com/<secret> once to see the site while it is down.

๐Ÿ—‚๏ธ File manager

File Manager browses the site's directory (it cannot leave it), with bookmarks for Site Root, Current, Shared, Logs and Releases. You can create, edit (files up to 10 MB), rename, copy, move and delete files and folders; upload several files at once; zip, unzip, tar and untar; change permissions and owner; download files or a folder as ZIP; search by name or content; and compare two files. Dual Pane shows two folders side by side, Hidden shows dotfiles.

๐Ÿ’ป Terminal

Terminal opens a shell in the site's current directory, in the browser โ€” on the panel host or over SSH on the site's server. It is available to admins and to developers with access to the site, never to viewers, and every session is recorded in the audit log.

Warning. The terminal is a real shell on the server, with the permissions of the panel's service user. Give developer access only to people you trust with the server.

๐Ÿšฆ Traffic statistics

The Resource usage card on the Deployments tab shows the site's disk use and database size (measured every 6 hours). Enable traffic statistics (admin, off by default) turns on a dedicated nginx access log for the site and reports requests and bandwidth for today and yesterday โ€” also used by the profitability report. The log is rotated and kept for 14 days.