Check local mirrorlist stuff very often
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
445ad6aaff
commit
833f251ed7
1 changed files with 4 additions and 4 deletions
|
@ -46,14 +46,14 @@ listen mirror-lists 0.0.0.0:10002
|
|||
balance hdr(appserver)
|
||||
timeout connect 30s
|
||||
{% if env == "staging" %}
|
||||
server mirrorlist-local1 localhost:18081 check inter 5s rise 2 fall 3 weight 100
|
||||
server mirrorlist-local2 localhost:18082 check inter 5s rise 2 fall 3 weight 100
|
||||
server mirrorlist-local1 localhost:18081 check inter 1s rise 2 fall 3 weight 100
|
||||
server mirrorlist-local2 localhost:18082 check inter 1s rise 2 fall 3 weight 100
|
||||
server mirrorlist-phx2 mirrorlist-phx2:80 check inter 5s rise 2 fall 3 backup
|
||||
{% endif %}
|
||||
{% if env == "production" %}
|
||||
{% if inventory_hostname_short == 'proxy02' %}
|
||||
server mirrorlist-local1 localhost:18081 check inter 5s rise 2 fall 3 weight 100
|
||||
server mirrorlist-local2 localhost:18082 check inter 5s rise 2 fall 3 weight 100
|
||||
server mirrorlist-local1 localhost:18081 check inter 1s rise 2 fall 3 weight 100
|
||||
server mirrorlist-local2 localhost:18082 check inter 1s rise 2 fall 3 weight 100
|
||||
server mirrorlist-phx2 mirrorlist-phx2:80 check inter 5s rise 2 fall 3 backup
|
||||
server mirrorlist-dedicatedsolutions mirrorlist-dedicatedsolutions:80 check inter 5s rise 2 fall 3 backup
|
||||
server mirrorlist-host1plus mirrorlist-host1plus:80 check inter 5s rise 2 fall 3 backup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue