@@ -38,6 +38,7 @@ This is autogenerated from [doc.yaml](doc.yaml). Description can be found in [ge
38
38
| [ src-ip-header] ( #src-ip-header ) | string | "null" | | :large_blue_circle : | :large_blue_circle : | :white_circle : |
39
39
| [ forwarded-for] ( #x-forwarded-for ) | [ bool] ( #bool ) | "true" | | :large_blue_circle : | :large_blue_circle : | :large_blue_circle : |
40
40
| [ hard-stop-after] ( #hard-stop-after ) | [ time] ( #time ) | "1h" | | :large_blue_circle : | :white_circle : | :white_circle : |
41
+ | [ http-connection-mode] ( #http-options ) | string | "http-keep-alive" | | :large_blue_circle : | :white_circle : | :white_circle : |
41
42
| [ http-keep-alive] ( #http-options ) | [ bool] ( #bool ) | "true" | | :large_blue_circle : | :white_circle : | :white_circle : |
42
43
| [ http-server-close] ( #http-options ) | [ bool] ( #bool ) | "false" | | :large_blue_circle : | :white_circle : | :white_circle : |
43
44
| [ ingress.class] ( #ingress-class ) | string | | | :white_circle : | :large_blue_circle : | :white_circle : |
@@ -682,8 +683,27 @@ hard-stop-after: 30s
682
683
683
684
# ### Http Options
684
685
686
+ # #### `http-connection-mode`
687
+
688
+ Sets HAProxy connection mode
689
+
690
+ Available on : ` configmap`
691
+
692
+ Possible values :
693
+
694
+ - http-keep-alive `default` - Enables HTTP Keep-Alive both from the client to HAProxy and from HAProxy to the backend.
695
+ - http-server-close - Disables HTTP Keep-Alive between HAProxy and the backend, while allowing it to stay enabled from the client to HAProxy.
696
+ - httpclose - HAProxy will close connections with the server and the client as soon as the request and the response are received
697
+
698
+ Example :
699
+
700
+ ` ` ` yaml
701
+ http-connection-mode: "http-server-close"
702
+ ` ` `
703
+
685
704
# #### `http-keep-alive`
686
705
706
+ **Deprecated**, use `http-connection-mode` instead.
687
707
Enables HTTP Keep-Alive both from the client to HAProxy and from HAProxy to the backend.
688
708
689
709
Available on : ` configmap`
@@ -701,6 +721,7 @@ http-keep-alive: "true"
701
721
702
722
# #### `http-server-close`
703
723
724
+ **Deprecated**, use `http-connection-mode` instead.
704
725
Disables HTTP Keep-Alive between HAProxy and the backend, while allowing it to stay enabled from the client to HAProxy.
705
726
706
727
Available on : ` configmap`
0 commit comments