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