mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2025-06-28 13:16:06 +02:00
Add test load balancer
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
@ -47,6 +47,16 @@ wordpress.bensuperpc.org {
|
||||
}
|
||||
}
|
||||
|
||||
it-tools.bensuperpc.org {
|
||||
# Load balance between 2 instances
|
||||
reverse_proxy {
|
||||
to it-tools0:80 it-tools1:80
|
||||
lb_policy round_robin
|
||||
lb_retries 3
|
||||
lb_try_interval 1s
|
||||
}
|
||||
}
|
||||
|
||||
adminer.bensuperpc.org {
|
||||
reverse_proxy adminer:8080
|
||||
}
|
||||
@ -97,10 +107,6 @@ syncthing.bensuperpc.org {
|
||||
}
|
||||
}
|
||||
|
||||
it-tools.bensuperpc.org {
|
||||
reverse_proxy it-tools:80
|
||||
}
|
||||
|
||||
tools.bensuperpc.org {
|
||||
redir https://it-tools.bensuperpc.org permanent
|
||||
}
|
||||
|
Reference in New Issue
Block a user