===== 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]] * [[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://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://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 ===== * certbot is a cron job in /etc/cron.d * after certbot runs it calls whatever hook is described in /etc/letsencrypt/renewal/.conf ===== API =====