27567c62ac
Critical Bug Fix: - Config-script was incomplete, only fixing main nginx.conf - HTTPS traffic was bypassing Varnish (went directly to Apache:444) - Now processes all per-domain configs to force HTTP backend protocol - Enables true HTTPS caching via SSL termination at Nginx Technical Changes: - Added per-domain config processing loop to config-script - Forces http://apache_backend_http_IP for all traffic (HTTP and HTTPS) - Replaces $scheme://apache_backend_${scheme}_IP pattern - Logs domain count and modifications for troubleshooting Performance at Scale: - Processes 200 domains in ~2-3 seconds (single sed per file) - Runs after ea-nginx rebuilds (SSL changes, domain adds, updates) - Efficient enough for large multi-tenant servers Documentation: - Added "Performance at Scale" section with timing estimates - Clarified HTTPS caching actually works now