Like Apache, Nginx has all the features you would expect from a leading Web server:
- 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.
Both Apache and nginx are stable, secure and very easy to configure, as you will see later in the article. However, the main advantages of Nginx over Apache are performance and efficiency. Whether you are looking to get the most out of your VPS or are attempting to scale one of the largest Web sites in the world, Nginx may be the best tool for the job. It’s fast, stable and easy to use.
Comparing to nginx, Apache having extra features like
- digest access authentication
- CGI
- administrative console