Next revision | Previous revision |
lwc:mqtt:haproxy [2020/11/26 19:36] – created John Harrison | lwc:mqtt:haproxy [2022/11/07 16:26] (current) – John Harrison |
---|
Notes: | ===== Handydandy snippets ===== |
| * validate configuration: ''haproxy -c -V -f /etc/haproxy/haproxy.cfg'' |
| |
| ===== All the links you can shake a stick at ===== |
* [[https://www.linangran.com/?p=547|Configuring for many connections]] | * [[https://www.linangran.com/?p=547|Configuring for many connections]] |
* c[[http://phucnw.blogspot.com/2016/05/using-haproxy-in-multi-core-environments.html|onfiguring for multi-threading]] (not recommended) | * [[http://phucnw.blogspot.com/2016/05/using-haproxy-in-multi-core-environments.html|configuring for multi-threading]] (not recommended) |
* [[https://www.digitalocean.com/community/tutorials/how-to-implement-ssl-termination-with-haproxy-on-ubuntu-14-04|HA Proxy with SSL termination on 14.04 by Digital Ocean]] | * [[https://www.digitalocean.com/community/tutorials/how-to-implement-ssl-termination-with-haproxy-on-ubuntu-14-04|HA Proxy with SSL termination on 14.04 by Digital Ocean]] |
* [[https://github.com/lelylan/haproxy-mqtt/blob/master/haproxy.cfg|settings used by Lelyan for MQTT HA Proxy]] | * [[https://github.com/lelylan/haproxy-mqtt/blob/master/haproxy.cfg|settings used by Lelyan for MQTT HA Proxy]] |
* [[https://serverfault.com/questions/611272/haproxy-http-vs-tcp|HTTP vs. TCP mode]] | * [[https://serverfault.com/questions/611272/haproxy-http-vs-tcp|HTTP vs. TCP mode]] |
* [[https://www.howtoforge.com/tutorial/ubuntu-load-balancer-haproxy/|HA Proxy settings on ubuntu 14.04]] | * [[https://www.howtoforge.com/tutorial/ubuntu-load-balancer-haproxy/|HA Proxy settings on ubuntu 14.04]] |
| * [[https://github.com/VirtuBox/nginx-ee|compile haproxy with LibreSSL instead of OpenSSL]] |
| |
===== How HA Proxy certs get renewed with certbot (letsencrypt) on 16.04 ===== | ===== How HA Proxy certs get renewed with certbot (letsencrypt) on 16.04 ===== |
| * certbot is a cron job in /etc/cron.d |
| * after certbot runs it calls whatever hook is described in /etc/letsencrypt/renewal/<cert_that_was_renewed>.conf |
| |
| ===== API ===== |
| |
* certbot is a cron job in /etc/cron.d | |
* after certbot runs it calls whatever hook is described in /etc/letsencrypt/renewal/<cert_that_was_renewed>.conf\\ | |
| |
| |
| |
| |