This commit is contained in:
parent
1eba8ef365
commit
2e8ba92e32
|
@ -41,17 +41,17 @@ backend not-found
|
|||
{{#each http}}
|
||||
backend {{name}}
|
||||
{{#each ../workers}}
|
||||
server {{name}} {{address}}:{{../port}} check
|
||||
server {{name}}:{{../port}} {{address}}:{{../port}} check
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
|
||||
#+++++++++++++++++++++++++++++++ TCP backends
|
||||
|
||||
{{#each tcp}}
|
||||
listen {{name}}:{{port}}:{{targetPort}}
|
||||
listen {{name}}:{{targetPort}}
|
||||
bind :{{port}}
|
||||
mode tcp
|
||||
{{#each ../workers}}
|
||||
server {{name}} {{address}}:{{../port}} check
|
||||
server {{name}}:{{../port}} {{address}}:{{../port}} check
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
|
|
Reference in New Issue