Getting Started
-
3. Starting
Next to Start NGINX on the default Http port
(Necessary Only if also Apache is installed)sudo service apache2 stop
sudo service nginx restart
-
4. Testing
Finally, Testing NGINX Installation
On a localhost with curl:curl http://127.0.0.1
Or the same address on a Browser…
-
5. Configuring
To Edit the NGINX Configuration File.
sudo nano /etc ginx/conf.d/default.conf
Contents