forked from linux/WebHosting
TLS is terminated at the proxy; Apache receives plain HTTP on :80. Merge all rules into a single *:80 vhost (the :443 vhost was never reached) and make the HTTPS redirect conditional on X-Forwarded-Proto: http. Fixes ERR_TOO_MANY_REDIRECTS.