Nginx on Raspberry Pi

Installation Guide

April 23, 2019

Step 1

Connect to the Pi via SSH.

Step 2

Ensure that the operating system is fully current:


      sudo apt update && sudo apt upgrade

Step 3

Install Nginx, and then start it:


      sudo apt-get install nginx
sudo /etc/init.d/nginx start

To test that Nginx has been correctly installed, type the IP address of the Raspberry Pi into your browser. You should see the default Nginx page.

Notice an error?

Have we got something wrong? Please let us know and we’ll fix it right away.

Categories
Nginx Raspberry Pi
Tags

Join the Discussion

Your email address will not be published. Required fields are marked *