Advertisement
Guest User

Untitled

a guest
May 7th, 2015
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. #NameVirtualHost test.ru:443
  2. <VirtualHost test.ru:443>
  3. DocumentRoot "/var/www/html"
  4. <Directory "/var/www/html">
  5. Options Indexes Includes
  6. AllowOverride all
  7. Order allow,deny
  8. Allow from all
  9. </Directory>
  10. ErrorDocument 503 "/error.html"
  11. ServerName test.ru
  12. Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED
  13. <Proxy balancer://ajp-cluster>
  14. BalancerMember ajp://10.100.10.10:8009 route=node1 KeepAlive=On retry=0 timeout=60 ttl=60
  15. # BalancerMember ajp://192.168.1.2:8009 route=node2
  16. ProxySet stickysession=ROUTEID
  17. ProxySet stickysession=JSESSIONID
  18. </Proxy>
  19. <Location />
  20. ProxyErrorOverride On
  21. ProxyPass balancer://ajp-cluster/
  22. </Location>
  23. ProxyRequests off
  24.  
  25. SSLEngine on
  26. SSLProtocol TLSv1.2
  27. SSLCertificateFile /etc/pki/tls/certs/test.cer
  28. SSLCertificateKeyFile /etc/pki/tls/private/test.key
  29. </VirtualHost>
  30.  
  31. ErrorDocument 503 text error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement