Guest User

Untitled

a guest
Oct 16th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. AH02033: No hostname was provided via SNI for a name based virtual host
  2.  
  3. Listen 127.0.0.1:443
  4. ServerName www.localhost.com
  5.  
  6. <VirtualHost 127.0.0.1:443>
  7. ServerName www.localhost.com
  8. ServerAlias localhost.com
  9. SSLCertificateFile /etc/httpd/ssl/ca.crt
  10. SSLCertificateKeyFile /etc/httpd/ssl/ca.key
  11. SSLEngine on
  12. SSLProxyEngine on
  13.  
  14. ProxyHCExpr isok {%{REQUEST_STATUS} =~ /^[23]/}
  15. ProxyHCTemplate template hcinterval=5 hcexpr=isok hcmethod=get hcuri=/healthcheck.php
  16.  
  17. <Proxy balancer://mycluster lbmethod=byrequests>
  18. BalancerMember https://127.0.0.1:8443
  19. BalancerMember https://127.0.0.1:8444
  20. ProxyPreserveHost On
  21. SSLProxyProtocol TLSv1
  22. </Proxy>
  23.  
  24. <Location />
  25. ProxyPass balancer://mycluster/
  26. ProxyPassReverse balancer://mycluster/
  27. </Location>
  28. </VirtualHost>
Add Comment
Please, Sign In to add comment