support multi containers
This commit is contained in:
parent
21069ec18b
commit
d41364f1af
6 changed files with 58 additions and 13 deletions
|
|
@ -23,7 +23,7 @@ backend srv_agent_quantum_example_org_31339_1
|
|||
mode tcp
|
||||
option tcp-check
|
||||
tcp-check connect
|
||||
server srv my-stack_agent:9001 check weight 1
|
||||
server srv-0 my-stack_agent:9001 check weight 1
|
||||
|
||||
frontend http_in_31337_2
|
||||
bind *:31337
|
||||
|
|
@ -43,14 +43,14 @@ backend srv_cadvisor_quantum_example_org_31337_2
|
|||
option forwardfor
|
||||
http-request set-header X-Forwarded-Port %[dst_port]
|
||||
http-request add-header X-Forwarded-Proto https if { ssl_fc }
|
||||
server srv my-stack_cadvisor:8080 check weight 1
|
||||
server srv-0 my-stack_cadvisor:8080 check weight 1
|
||||
backend srv_node-exporter_quantum_example_org_31337_2
|
||||
balance roundrobin
|
||||
mode http
|
||||
option forwardfor
|
||||
http-request set-header X-Forwarded-Port %[dst_port]
|
||||
http-request add-header X-Forwarded-Proto https if { ssl_fc }
|
||||
server srv my-stack_node-exporter:9100 check weight 1
|
||||
server srv-0 my-stack_node-exporter:9100 check weight 1
|
||||
|
||||
frontend http_in_80_3
|
||||
bind *:80
|
||||
|
|
@ -71,7 +71,7 @@ backend srv_www_somehost_com_br_80_3
|
|||
option forwardfor
|
||||
http-request set-header X-Forwarded-Port %[dst_port]
|
||||
http-request add-header X-Forwarded-Proto https if { ssl_fc }
|
||||
server srv some-service:80 check weight 1
|
||||
server srv-0 some-service:80 check weight 1
|
||||
|
||||
frontend http_in_443_4
|
||||
bind *:443 ssl crt /tmp/www.somehost.com.br.1.pem
|
||||
|
|
@ -92,4 +92,4 @@ backend srv_www_somehost_com_br_443_4
|
|||
option forwardfor
|
||||
http-request set-header X-Forwarded-Port %[dst_port]
|
||||
http-request add-header X-Forwarded-Proto https if { ssl_fc }
|
||||
server srv some-service:80 check weight 1
|
||||
server srv-0 some-service:80 check weight 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue