DEV Community

Cover image for How to Set-up NGINX
Kunguma Sakthivel K
Kunguma Sakthivel K

Posted on

How to Set-up NGINX

Now to download and set-up the NGINX, to your local machine for windows

Step-1

  • Go to NGINX website and download the stable version nginx/Windows-1.xx.x in your local machine.
  • The downloaded file will be a zip.

Download Zip File

Step-2

  • While extracting the zip file, make sure to extract the folder in C:\.
    Zip extract image

  • Now click on Extract button to extract the files.

Step-3

  • Now go to C:\ and navigate to NGINX folder, inside the folder there will be a file called nginx.exe double click on that.

Folder image

  • Now NGINX server is started in localhost:80, because port 80 is default port for http

Localhost image

  • To verify that the NGINX server is serving the file, go to networks tab in Developer tools and click on localhost, under the Header tab you can see the nginx server.

Developer Tool - Inspect options in browser

  • To stop the NGINX server, simplest way is go to task manager and find the NGINX process than give End Task option to terminate the NGINX server in easiest way.

If you came along this long, then you're very eager to learn and develop web server.

So, if you want to learn personally how to develop web server or backend applications fill out this google form.
Form

Happy Coding

Top comments (0)