LEMP replaces Apache with Nginx for better performance with static content and reverse proxying.
What's Included
- Linux (Ubuntu)
- Engine-X (Nginx)
- MySQL database
- PHP-FPM
After Deployment
Nginx serves your files from /var/www/html/. PHP is processed via PHP-FPM.
Adding a Site
- Create a config in
/etc/nginx/sites-available/ - Symlink to
sites-enabled/ - Test with
nginx -t - Reload with
systemctl reload nginx