forked from CNSRE/ABTestingGateway
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
43 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,24 @@ | ||
upstream stable{ | ||
keepalive 1000; | ||
server localhost:8040; | ||
upstream beta2 { | ||
server 127.0.0.1:8023 weight=10 fail_timeout=1 max_fails=3; | ||
keepalive 256; | ||
} | ||
|
||
upstream beta1 { | ||
keepalive 1000; | ||
server localhost:8020; | ||
upstream beta3 { | ||
server 127.0.0.1:8021 weight=10 fail_timeout=1 max_fails=3; | ||
keepalive 256; | ||
} | ||
|
||
upstream beta2 { | ||
keepalive 1000; | ||
server localhost:8021; | ||
upstream beta1 { | ||
server 127.0.0.1:8020 weight=1 fail_timeout=10 max_fails=1; | ||
keepalive 1000; | ||
} | ||
|
||
upstream beta3 { | ||
keepalive 1000; | ||
server 127.1.0.1:8022; | ||
|
||
# check interval=3000 rise=2 fall=5 timeout=1000 type=http; | ||
# check_http_send "HEAD / HTTP/1.0\r\n\r\n"; | ||
# check_http_expect_alive http_2xx http_3xx; | ||
upstream beta4 { | ||
server 127.0.0.1:8023 weight=1 fail_timeout=10 max_fails=1; | ||
keepalive 1000; | ||
} | ||
|
||
upstream beta4 { | ||
keepalive 1000; | ||
server localhost:8023; | ||
upstream stable { | ||
server 127.0.0.1:8040 weight=1 fail_timeout=10 max_fails=1; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters