The Mod_Proxy Cookbook
summary
Practical recipes for mod_proxy and mod_proxy_balancer on Apache HTTPD 2.4: how to enable HTTP/2 proxying, use active health probes (built-in backend probing and HTTP response matching), configure connection pooling, sticky sessions via mod_headers cookie injection, UNIX domain socket backends, and the balancer manager with persistent state. Examples include a Node.js SSL offload case claiming ~6k→38k req/s gain through UDS, plus exact config fragments and health-check templates.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:47Overview and resources
- 3:26New features in 2.4
- 6:34Core proxy functionality
- 8:25Forward and reverse proxies
- 11:18Implementing reverse proxies
- 14:47Load balancing configurations
- 17:12Asymmetric load distribution
- 21:34Selective proxying
- 25:00URI mapping and pitfalls
- 29:25Worker statuses and monitoring
- 32:44Implementing sticky sessions
- 38:22Connection pooling
- 40:51SSL offloading
- 42:26Advanced health checks
- 45:55Dynamic configuration management
related talks
46mProxy Pains and Benefits Supporting HTTP/2 End to End
38mProxing to tomcat with httpd
33mTaming the Beast: Understanding and Harnessing the Power of HTTP Proxies
29mLoad balancing: an in-depth study to scale @ 80K TPS
31mHTTP/2 in Practice
47mOptimizing nginx – from Beginner to Expert to Crazy
48mBetter performances on the server side with HTTP/2
52mWhat's New in Apache httpd 2.4
