Skip to content

Instantly share code, notes, and snippets.

@bpluly
Created August 12, 2025 13:41
Show Gist options
  • Save bpluly/b59f8a896b788958ae8374c394fdcf0f to your computer and use it in GitHub Desktop.
Save bpluly/b59f8a896b788958ae8374c394fdcf0f to your computer and use it in GitHub Desktop.
HTTPD 2.4 2.2.34-1.16.amzn1 and explicit SNI
The problem is that the backend configuration has multiple domains on an instance. The config could be separated into a backend for each host domain name but the real solution is to have a dynamic SNI
The host header is the basis for SNI so the config looks like, for each backend.
server backend-name ipaddr ssl verify none check-sni req.hdr(host) sni req.hdr(host) check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment