~/talk

Proxing to tomcat with httpd

Talkat ApacheCon@Home 2021 · 2021-09-21..09-23· [web-platform, security]
links:none on file
slides:none on file

Apache httpd is configured as a reverse proxy to Tomcat using AJP, mod_proxy_ajp or HTTP backends (HTTP/1.1, H2C and HTTPS) with mod_balancer or mod_jk. Performance tests show mod_jk and mod_proxy AJP perform similarly; recommendation is to prefer HTTPS over AJP because AJP lacks upgrades and has past security issues. Demo uses curl and an SSLValve to export client TLS data as headers so Tomcat reads client certificates successfully through the proxy.

AI-written summary · about

  1. 0:00Introduction to proxying
  2. 1:07What is a proxy and its uses
  3. 3:58Protocols overview AJP HTTP HTTPS
  4. 8:20Mod_jk vs mod_proxy comparison
  5. 15:57Configuring mod_jk and mod_proxy AJP
  6. 19:50Configuring mod_proxy HTTP
  7. 21:12HTTP/2 cleartext proxying
  8. 22:57TLS configuration with Tomcat
  9. 28:18Demo TLS certificate forwarding
  10. 34:06Q&A and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.