Guest User

Untitled

a guest
May 23rd, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. <VirtualHost *:*>
  2. <Proxy balancer://mycluster>
  3. BalancerMember http://localhost:8080/sample
  4. BalancerMember http://localhost:8090/sample
  5. BalancerMember http://localhost:9080
  6. </Proxy>
  7. ProxyPreserveHost On
  8. ProxyPass /test http://localhost:80
  9. ProxyPassReverse /test http://localhost:80
  10. ProxyPass / balancer://mycluster/
  11. ProxyPassReverse / balancer://mycluster/
  12. </VirtualHost>
  13.  
  14. ProxyRequests On
  15. <Proxy *>
  16. Order deny,allow
  17. Allow from all
  18. </Proxy>
  19. <Proxy balancer://mycluster>
  20. BalancerMember http://localhost:8080/sample
  21. BalancerMember http://localhost:8090/sample
  22. BalancerMember http://localhost:9080
  23. </Proxy>
  24.  
  25. ProxyPreserveHost On
  26. ProxyPass /test http://localhost:80
  27. ProxyPassReverse /test http://localhost:80
  28. ProxyPass / balancer://mycluster/
  29. ProxyPassReverse / balancer://mycluster/
Add Comment
Please, Sign In to add comment