HAProxy: Difference between revisions

From Alpine Linux
(Added HAProxy Installation section)
m (SSL support in HAProxy is deprecated, as it should be, replaced those references with TLS. Linked to packages.)
 
Line 1: Line 1:
[https://www.haproxy.org/ HAProxy] is a free, very fast, and reliable reverse-proxy offering high availability, load balancing, and proxying for TCP and HTTP-based applications.
[https://www.haproxy.org/ HAProxy] is a free, very fast, and reliable reverse-proxy offering high availability, load balancing, and proxying for TCP and HTTP-based applications.


A unique feature is that HAProxy can be configured for SSL termination to occur locally on the HAProxy server or it can be configured to pass through SSL termination at the backend via SNI.
A unique feature is that HAProxy can be configured for TLS termination to occur locally on the HAProxy server or it can be configured to pass through TLS termination at the backend via SNI.


== Installation ==
== Installation ==
Line 7: Line 7:


{{Cmd|apk update
{{Cmd|apk update
apk add haproxy}}
apk add {{pkg|haproxy}}}}


=== System scripts ===
=== System scripts ===
Line 13: Line 13:


{{Cmd|apk update
{{Cmd|apk update
apk add haproxy-openrc}}
apk add {{pkg|haproxy-openrc}}}}


If you are running runit, s6, or dinit, (or other), then there are no scripts packaged for your init systems yet. Please feel free to contribute a package with them.
If you are running runit, s6, or dinit, (or other), then there are no scripts packaged for your init systems yet. Please feel free to contribute a package with them.
Line 20: Line 20:
If you want local documenation, then you can install that with:
If you want local documenation, then you can install that with:


{{Cmd|apk add haproxy-doc}}
{{Cmd|apk add {{pkg|haproxy-doc}}}}


== See Also ==
== See Also ==

Latest revision as of 23:58, 19 September 2024

HAProxy is a free, very fast, and reliable reverse-proxy offering high availability, load balancing, and proxying for TCP and HTTP-based applications.

A unique feature is that HAProxy can be configured for TLS termination to occur locally on the HAProxy server or it can be configured to pass through TLS termination at the backend via SNI.

Installation

HAProxy package is available in the Alpine Linux repositories. To install it run:

apk update apk add haproxy

System scripts

If you are running OpenRC, then you can install with:

apk update apk add haproxy-openrc

If you are running runit, s6, or dinit, (or other), then there are no scripts packaged for your init systems yet. Please feel free to contribute a package with them.

Local Documentation

If you want local documenation, then you can install that with:

apk add haproxy-doc

See Also