Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- director my_backend random {
- .retries = 5;
- {
- .backend = {
- .host = "host1.example.com";
- .port = "1000";
- .probe = {
- .url = "/foo/";
- .timeout = 1s;
- .interval = 3s;
- .window = 10;
- .threshold = 8;
- }
- }
- .weight = 9;
- }
- {
- .backend = {
- .host = "host2.example.com";
- .port = "1000";
- .probe = {
- .url = "/foo/";
- .timeout = 1s;
- .interval = 3s;
- .window = 10;
- .threshold = 8;
- }
- }
- .weight = 1;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement