How To Install Nginx on Ubuntu 18.04

Prerequisites Before you begin this guide, you should have a regular, non-root user with sudo privileges configured on your Ubuntu 18.04 server. If you are logged in as root instead, you can drop the sudo portion of all the following commands, but they will work…