firefly
This commit is contained in:

committed by
Shelvacu on legtop

parent
f9929e90f4
commit
cb80855e7c
@@ -99,7 +99,10 @@ in
|
|||||||
${concatMap "\n\n" (c: ''
|
${concatMap "\n\n" (c: ''
|
||||||
backend ${backendName c}
|
backend ${backendName c}
|
||||||
mode http
|
mode http
|
||||||
${lib.optionalString c.forwardFor "option forwardfor"}
|
${lib.optionalString c.forwardFor ''
|
||||||
|
option forwardfor
|
||||||
|
option forwarded
|
||||||
|
''}
|
||||||
server main ${c.name}:${builtins.toString c.port} check maxconn ${builtins.toString c.maxConnections} ${
|
server main ${c.name}:${builtins.toString c.port} check maxconn ${builtins.toString c.maxConnections} ${
|
||||||
if c.useSSL then "ssl verify none ssl-reuse" else "proto h1"
|
if c.useSSL then "ssl verify none ssl-reuse" else "proto h1"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user