Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AH02033: No hostname was provided via SNI for a name based virtual host
- Listen 127.0.0.1:443
- ServerName www.localhost.com
- <VirtualHost 127.0.0.1:443>
- ServerName www.localhost.com
- ServerAlias localhost.com
- SSLCertificateFile /etc/httpd/ssl/ca.crt
- SSLCertificateKeyFile /etc/httpd/ssl/ca.key
- SSLEngine on
- SSLProxyEngine on
- ProxyHCExpr isok {%{REQUEST_STATUS} =~ /^[23]/}
- ProxyHCTemplate template hcinterval=5 hcexpr=isok hcmethod=get hcuri=/healthcheck.php
- <Proxy balancer://mycluster lbmethod=byrequests>
- BalancerMember https://127.0.0.1:8443
- BalancerMember https://127.0.0.1:8444
- ProxyPreserveHost On
- SSLProxyProtocol TLSv1
- </Proxy>
- <Location />
- ProxyPass balancer://mycluster/
- ProxyPassReverse balancer://mycluster/
- </Location>
- </VirtualHost>
Add Comment
Please, Sign In to add comment