Skip to content

Installing Nginx with PHP-FPM and SSL on Ubuntu and Debian

How to install Nginx on a VPS running Ubuntu or Debian, create a site, connect PHP-FPM and add a free Let's Encrypt SSL certificate. Checking the configuration, fixing 502, 403 and 413 errors and removing Nginx.