Nginx has all the features you would expect from other leading web server like Apache.
- Static file serving.
- SSL/TLS support.
- Virtual hosts.
- Reverse proxying.
- Load balancing.
- Compression.
- Access controls.
- URL rewriting.
- Custom logging.
- Server-side includes.
- WebDAV.
- FLV streaming.
- FastCGI.
How can this helps you run your own server is easier than you might expect without the need of IT professionals. Nginx set to its most basic properties can run 4000 concurrent connections still have a memory load that is far less than Apache.
Take for example the cheapest VPS you can get with Neosurge for $7.00 a month, this 1.2 Ghz, 128Mb, 5 GB with 200GB bandwidth VPS server running with Nginx and Fedora linux ( “yum install nginx” ). This configuration would be able to Serve Up to 128 concurrent connections with a PHP and Mysql, “Wordpress Blog”. Taking it up a notch to there $26.00 month VPS on Nginx would run a fairly large Magento E-commerce web site and serve 1024 concurrent connections assuming you configured worker groups to two for the dual processor that you're getting, on you to serve more customers at the same time without giving lag. This serves Magento faster because it lets you use about “128MB of memory” for the PHP process.
What else makes PHP run faster with Nginx that all protocols sent PHP are on their own, meaning that the daemonize PHP engine can use the processor to its fullest degree including threads unlike Apache which used mod_php to internalize the PHP engine. That out of the http service, you have a cleaner running memory and processor. You'll start to see that you barely used the processor at all, and under the harsher conditions Nginx is still reliable get the job done by sending in the static file to the user request and at the same time returning the dynamic data request using its load balancing technology over from PHP.
Lets say that you had it with PHP, and have given up with Wordpress or Magento. Nginx allows this just connect your users to a Python, Perl, Lua, Java, or C# backend and serve static files. Just like Apache even PHP has lived for a long time. even though PHP has many programs out there it has come to the point that PHP is slow. It can’t serve information like Python or C# can for they are compiled, this gives the processor even less to process for its in the native language of hexadecimal binary information. Reducing the need to process things means you can send that information in Milliseconds and not in seconds like PHP that has to go down each line of code of Wordpress or Magento needs.