HAProxy: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „=HTTPS Webserver to multiple http Webserver= Simply add the following at the end of /etc/haproxy/haproxy.cfg <pre> frontend ssl_443 bind *:443 ssl crt /path/to…“)
 
 
(9 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 1: Zeile 1:
=HTTPS Webserver to multiple http Webserver=
+
*[[HAProxy Grundlagen]]
Simply add the following at the end of /etc/haproxy/haproxy.cfg
+
*[[Manuelle HAProxy Konfiguration]]
<pre>
+
*[[PFSense HAProxy]]
frontend ssl_443
+
*[[OPNsense HAProxy]]
bind *:443 ssl crt /path/to/cert/example.pem
+
=Links=
mode http
+
*https://gridscale.io/community/tutorials/loadbalancing-haproxy/
http-request set-header X-Forwarded-For %[src]
 
reqadd X-Forwarded-Proto:\ https
 
option http-server-close
 
default_backend ssl_443
 
 
 
backend ssl_443
 
mode http
 
balance roundrobin
 
server web1 10.80.100.10:80 check
 
server web2 10.80.100.11:80 check
 
</pre>
 
 
 
=pem layout=
 
*cat certificate.crt intermediates.pem private.key > ssl-certs.pem
 
bind *:443 ssl crt /path/to/cert/ssl-certs.pem
 
 
 
=letsencrypt cert=
 
Works a bit differently as seen in https://gridscale.io/community/tutorials/haproxy-ssl/
 
 
 
=sources=
 
 
*https://gridscale.io/community/tutorials/haproxy-ssl/
 
*https://gridscale.io/community/tutorials/haproxy-ssl/
*https://www.meshcloud.io/en/2017/04/18/pem-file-layout-for-haproxy/
+
*https://gridscale.io/community/tutorials/haproxy-tutorial-installation-debian-linux/

Aktuelle Version vom 22. Januar 2024, 08:55 Uhr