set forward for to the backend_api
This commit is contained in:
parent
84cd5cc5fb
commit
4ba9f48e52
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ frontend web
|
||||||
use_backend backend_restreamer if is_stream
|
use_backend backend_restreamer if is_stream
|
||||||
|
|
||||||
backend backend_api
|
backend backend_api
|
||||||
|
option forwardfor
|
||||||
balance leastconn
|
balance leastconn
|
||||||
server api1 api:8080 check inter 5s rise 4 fall 2
|
server api1 api:8080 check inter 5s rise 4 fall 2
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue