Skip to main content

Posts

Showing posts with the label Nginx

Getting started with Nginx

Points To Remember Nginx is pronounced as Engine-x It is open source It is a High performance HTTP server and Reverse proxy It does not rely on thread to handle requests.  Thus it can serve thousands of concurrent requests. It works on scalable event driven (asynchronous) architecture.  Getting started with NGINX Install nginx sudo apt-get install nginx Check the status of the server sudo service nginx status Start the nginx server sudo service nginx start Go to the browser and enter the url http://localhost  you will see the following screen. Our nginx server is up and running. Viewing the NGINX configuration files. You can go to the folder  /etc/nginx  to view the Nginx configuration files. The image above shows how the nginx files looks like. For getting started the important files you should be familiar to are mime.types  it includes all the mime types the the ngnix server will support. nginx.conf  it contains most of the configuration that is req...