Deploying Nginx as a Web Server

sandeep negi
1 min readNov 6, 2019

--

Nginx can be used as a proxy server or for directly serving traffic.

Nginx is one of the highest performance and lowest memory footprint webserver today according to netcraft.

It is used best when used as a proxy server or for serving static content.

3 Ways to Deploy Nginx

  1. web server
  2. proxy server
  3. hybrid Deployments

Nginx as a Web Server it is simple.

Nginx as Web Server

Nginx as a Proxy:

proxying the connection to either a backend apache or Nginx server it works as a reverse proxy server.

It can also be used as a load balancer.

Hybrid Nginx Deployments:

In this case, we can have Nginx as a web server as well as a proxy server. the proxy server can serve the static content as well as it can redirect the traffic to apache and other Nginx server

--

--

sandeep negi
sandeep negi

Written by sandeep negi

Software Engineer, who loves challenges and new technologies. :)

No responses yet