Guest User

Untitled

a guest
Jul 1st, 2011
120
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. director my_backend random {
  2. .retries = 5;
  3. {
  4. .backend = {
  5. .host = "host1.example.com";
  6. .port = "1000";
  7. .probe = {
  8. .url = "/foo/";
  9. .timeout = 1s;
  10. .interval = 3s;
  11. .window = 10;
  12. .threshold = 8;
  13. }
  14. }
  15. .weight = 9;
  16. }
  17. {
  18. .backend = {
  19. .host = "host2.example.com";
  20. .port = "1000";
  21. .probe = {
  22. .url = "/foo/";
  23. .timeout = 1s;
  24. .interval = 3s;
  25. .window = 10;
  26. .threshold = 8;
  27. }
  28. }
  29. .weight = 1;
  30. }
  31. }
RAW Paste Data