Alternatives to NGINX logo

Alternatives to NGINX

HAProxy, lighttpd, Traefik, Caddy, and Envoy are the most popular alternatives and competitors to NGINX.
93.7K
43.9K
+ 1
5.5K

What is NGINX and what are its top alternatives?

nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. According to Netcraft nginx served or proxied 30.46% of the top million busiest sites in Jan 2018.
NGINX is a tool in the Web Servers category of a tech stack.
NGINX is an open source tool with 15K GitHub stars and 5.4K GitHub forks. Here’s a link to NGINX's open source repository on GitHub

Top Alternatives to NGINX

  • HAProxy

    HAProxy

    HAProxy (High Availability Proxy) is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. ...

  • lighttpd

    lighttpd

    lighttpd has a very low memory footprint compared to other webservers and takes care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) make lighttpd the perfect webserver-software for every server that suffers load problems. ...

  • Traefik

    Traefik

    A modern HTTP reverse proxy and load balancer that makes deploying microservices easy. Traefik integrates with your existing infrastructure components and configures itself automatically and dynamically. ...

  • Caddy

    Caddy

    Caddy 2 is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go. ...

  • Envoy

    Envoy

    Originally built at Lyft, Envoy is a high performance C++ distributed proxy designed for single services and applications, as well as a communication bus and “universal data plane” designed for large microservice “service mesh” architectures. ...

  • Microsoft IIS

    Microsoft IIS

    Internet Information Services (IIS) for Windows Server is a flexible, secure and manageable Web server for hosting anything on the Web. From media streaming to web applications, IIS's scalable and open architecture is ready to handle the most demanding tasks. ...

  • Varnish

    Varnish

    Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 - 1000x, depending on your architecture. ...

  • Apache Tomcat

    Apache Tomcat

    Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations. ...

NGINX alternatives & related posts

HAProxy logo

HAProxy

2.2K
1.9K
553
The Reliable, High Performance TCP/HTTP Load Balancer
2.2K
1.9K
+ 1
553
PROS OF HAPROXY
  • 130
    Load balancer
  • 100
    High performance
  • 69
    Very fast
  • 57
    Proxying for tcp and http
  • 55
    SSL termination
  • 30
    Open source
  • 27
    Reliable
  • 20
    Free
  • 18
    Well-Documented
  • 12
    Very popular
  • 7
    Suited for very high traffic web sites
  • 7
    Runs health checks on backends
  • 6
    Scalable
  • 5
    Ready to Docker
  • 4
    Powers many world's most visited sites
  • 2
    Simple
  • 2
    Work with NTLM
  • 2
    Ssl offloading
CONS OF HAPROXY
  • 3
    Becomes your single point of failure

related HAProxy posts

Around the time of their Series A, Pinterest’s stack included Python and Django, with Tornado and Node.js as web servers. Memcached / Membase and Redis handled caching, with RabbitMQ handling queueing. Nginx, HAproxy and Varnish managed static-delivery and load-balancing, with persistent data storage handled by MySQL.

See more
Tom Klein

We're using Git through GitHub for public repositories and GitLab for our private repositories due to its easy to use features. Docker and Kubernetes are a must have for our highly scalable infrastructure complimented by HAProxy with Varnish in front of it. We are using a lot of npm and Visual Studio Code in our development sessions.

See more
lighttpd logo

lighttpd

116
100
27
A secure, fast, compliant, and very flexible web-server that has been optimized for high-performance environments
116
100
+ 1
27
PROS OF LIGHTTPD
  • 7
    Lightweight
  • 6
    Easy setup
  • 2
    Simplicity
  • 2
    Full featured
  • 2
    Proxy
  • 2
    Virtal hosting
  • 2
    Open source
  • 1
    Available modules
  • 1
    Fast
  • 1
    Security
  • 1
    Ssl support
CONS OF LIGHTTPD
    Be the first to leave a con

    related lighttpd posts

    Traefik logo

    Traefik

    642
    938
    82
    The Cloud Native Edge Router
    642
    938
    + 1
    82
    PROS OF TRAEFIK
    • 19
      Kubernetes integration
    • 16
      Watch service discovery updates
    • 12
      Swarm integration
    • 12
      Letsencrypt support
    • 11
      Several backends
    • 4
      Ready-to-use dashboard
    • 4
      Rancher integration
    • 2
      Easy setup
    • 1
      Mesos integration
    • 1
      Mantl integration
    CONS OF TRAEFIK
    • 7
      Complicated setup
    • 6
      Not very performant (fast)

    related Traefik posts

    Gabriel Pa
    Shared insights
    on
    TraefikTraefikNGINXNGINX
    at

    We switched to Traefik so we can use the REST API to dynamically configure subdomains and have the ability to redirect between multiple servers.

    We still use nginx with a docker-compose to expose the traffic from our APIs and TCP microservices, but for managing routing to the internet Traefik does a much better job

    The biggest win for naologic was the ability to set dynamic configurations without having to restart the server

    See more
    Shared insights
    on
    EnvoyEnvoyHAProxyHAProxyTraefikTraefikNGINXNGINX

    We are looking to configure a load balancer with some admin UI. We are currently struggling to decide between NGINX, Traefik, HAProxy, and Envoy. We will use a load balancer in a containerized environment and the load balancer should flexible and easy to reload without changes in case containers are scaled up.

    See more
    Caddy logo

    Caddy

    219
    208
    17
    The Ultimate Server with Automatic HTTPS
    219
    208
    + 1
    17
    PROS OF CADDY
    • 6
      Sane config file syntax
    • 5
      Easy HTTP/2 Server Push
    • 3
      Builtin HTTPS
    • 2
      Runtime config API
    • 1
      Letsencrypt support
    CONS OF CADDY
    • 3
      New kid

    related Caddy posts

    Scott Mebberson
    CTO / Chief Architect at Idearium · | 5 upvotes · 169.9K views
    Shared insights
    on
    NGINXNGINXCaddyCaddy

    We used to primarily use nginx for our static web server and proxy in-front of Node.js. Now, we use Caddy. And we couldn't be happier.

    Caddy is simpler on all fronts. Configuration is easier. Free HTTPS out of the box. Some fantastic plugins. And for the most part, it's fast.

    Don't get me wrong, it's not lost on me that Nginx is actually a superior product.

    But for the times when you don't need that extra performance, and complexity - take a look at Caddy.

    See more
    Envoy logo

    Envoy

    230
    414
    8
    C++ front/service proxy
    230
    414
    + 1
    8
    PROS OF ENVOY
    • 8
      GRPC-Web
    CONS OF ENVOY
      Be the first to leave a con

      related Envoy posts

      Joseph Irving
      DevOps Engineer at uSwitch · | 7 upvotes · 126.8K views
      Shared insights
      on
      KubernetesKubernetesEnvoyEnvoyGoGo
      at

      At uSwitch we wanted a way to load balance between our multiple Kubernetes clusters in AWS to give us added redundancy. We already had ingresses defined for all our applications so we wanted to build on top of that, instead of creating a new system that would require our various teams to change code/config etc.

      Envoy seemed to tick a lot of boxes:

      • Loadbalancing capabilities right out of the box: health checks, circuit breaking, retries etc.
      • Tracing and prometheus metrics support
      • Lightweight
      • Good community support

      This was all good but what really sold us was the api that supported dynamic configuration. This would allow us to dynamically configure envoy to route to ingresses and clusters as they were created or destroyed.

      To do this we built a tool called Yggdrasil using their Go sdk. Yggdrasil effectively just creates envoy configuration from Kubernetes ingress objects, so you point Yggdrasil at your kube clusters, it generates config from the ingresses and then envoy can loadbalance between your clusters for you. This is all done dynamically so as soon as new ingress is created the envoy nodes get updated with the new config. Importantly this all worked with what we already had, no need to create new config for every application, we just put this on top of it.

      See more
      Shared insights
      on
      EnvoyEnvoyHAProxyHAProxyTraefikTraefikNGINXNGINX

      We are looking to configure a load balancer with some admin UI. We are currently struggling to decide between NGINX, Traefik, HAProxy, and Envoy. We will use a load balancer in a containerized environment and the load balancer should flexible and easy to reload without changes in case containers are scaled up.

      See more
      Microsoft IIS logo

      Microsoft IIS

      12.6K
      5.4K
      232
      A web server for Microsoft Windows
      12.6K
      5.4K
      + 1
      232
      PROS OF MICROSOFT IIS
      • 82
        Great with .net
      • 53
        I'm forced to use iis
      • 25
        Use nginx
      • 18
        Azure integration
      • 14
        Best for ms technologyes ms bullshit
      • 10
        Fast
      • 6
        Performance
      • 6
        Reliable
      • 4
        Powerful
      • 3
        Webserver
      • 3
        Simple to configure
      • 2
        Easy setup
      • 1
        Охуенный
      • 1
        Shipped with Windows Server
      • 1
        Ssl integration
      • 1
        1
      • 1
        Security
      • 1
        I am not forced to use iis anymore :)
      CONS OF MICROSOFT IIS
      • 1
        Had to stuck on MS stack

      related Microsoft IIS posts

      I am currently in school for computer science and am doing a class project about web servers. Our assignment is to research and select one of these web servers. Could you please let me know which one you would choose among NGINX, Microsoft IIS, and Apache HTTP Server and why?

      See more
      Varnish logo

      Varnish

      11.3K
      1.8K
      359
      High-performance HTTP accelerator
      11.3K
      1.8K
      + 1
      359
      PROS OF VARNISH
      • 103
        High-performance
      • 66
        Very Fast
      • 56
        Very Stable
      • 43
        Very Robust
      • 36
        HTTP reverse proxy
      • 20
        Open Source
      • 17
        Web application accelerator
      • 10
        Easy to config
      • 4
        Widely Used
      • 3
        Great community
      • 1
        Essential software for HTTP
      CONS OF VARNISH
        Be the first to leave a con

        related Varnish posts

        Around the time of their Series A, Pinterest’s stack included Python and Django, with Tornado and Node.js as web servers. Memcached / Membase and Redis handled caching, with RabbitMQ handling queueing. Nginx, HAproxy and Varnish managed static-delivery and load-balancing, with persistent data storage handled by MySQL.

        See more
        Tom Klein

        We're using Git through GitHub for public repositories and GitLab for our private repositories due to its easy to use features. Docker and Kubernetes are a must have for our highly scalable infrastructure complimented by HAProxy with Varnish in front of it. We are using a lot of npm and Visual Studio Code in our development sessions.

        See more
        Apache Tomcat logo

        Apache Tomcat

        12K
        8.5K
        200
        An open source software implementation of the Java Servlet and JavaServer Pages technologies
        12K
        8.5K
        + 1
        200
        PROS OF APACHE TOMCAT
        • 79
          Easy
        • 72
          Java
        • 48
          Popular
        • 1
          Spring web
        CONS OF APACHE TOMCAT
          Be the first to leave a con

          related Apache Tomcat posts

          Остап Комплікевич

          I need some advice to choose an engine for generation web pages from the Spring Boot app. Which technology is the best solution today? 1) JSP + JSTL 2) Apache FreeMarker 3) Thymeleaf Or you can suggest even other perspective tools. I am using Spring Boot, Spring Web, Spring Data, Spring Security, PostgreSQL, Apache Tomcat in my project. I have already tried to generate pages using jsp, jstl, and it went well. However, I had huge problems via carrying already created static pages, to jsp format, because of syntax. Thanks.

          See more

          Java Spring JUnit

          Apache HTTP Server Apache Tomcat

          MySQL

          See more