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