Generic VPS
Checklist
- Ubuntu/Debian (or similar) with Nginx or Apache
- PHP 8.3-FPM + extensions from Requirements
- MariaDB/MySQL
- Deploy code (git or release ZIP) to e.g.
/var/www/pulsevia - Nginx example root:
root /var/www/pulsevia/public;
index index.php;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
}
chown -R www-data:www-data storage bootstrap/cachecp .env.example .env && php artisan key:generate(or use/install)- Cron + optional Supervisor queue worker — Cron & Queue
- TLS via Certbot
Permissions
Never make the whole project world-writable. Only storage and bootstrap/cache.