This commit is contained in:
Shelvacu
2024-12-26 18:20:10 -08:00
committed by Shelvacu on legtop
parent f9929e90f4
commit cb80855e7c

View File

@@ -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"
} }