Mobile app version of vmapp.org
Login or Join
Courtney195

: HAProxy as web server Can HAProxy work as web server without other web server (e.g. Apache, NGINX) behind it? I was told for such configuration but I am not sure about the accuracy of the

@Courtney195

Posted in: #Haproxy

Can HAProxy work as web server without other web server (e.g. Apache, NGINX) behind it? I was told for such configuration but I am not sure about the accuracy of the information.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Courtney195

1 Comments

Sorted by latest first Latest Oldest Best

 

@Megan663

No, HAProxy is not a web server and cannot act like one. From the HAProxy Starter Guide, What HAProxy is and is not:


HAProxy is not a web server:

During startup, it isolates itself inside a chroot jail and drops its privileges, so that it will not perform any single file-system
access once started. As such it cannot be turned into a web server. There
are excellent open-source software for this such as Apache or Nginx, and
HAProxy can be installed in front of them to provide load balancing and
high availability.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme