You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: haproxy/Readme.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,13 +129,14 @@ either when running the container or in a `docker-compose.yml` file.
129
129
*`STATS_AUTH` The authentication details (written as `user:password` for the statistics page - default `admin:admin`
130
130
*`FRONTEND_NAME` The label of the frontend - default `http-frontend`
131
131
*`FRONTEND_PORT` The port to bind the frontend to - default `5000`
132
-
*`FRONTEND_MODE` Frontend mode - default `http`
132
+
*`FRONTEND_MODE` Frontend mode - default `http` or `BACKENDS_MODE` if declared
133
133
*`PROXY_PROTOCOL_ENABLED` The option to enable or disable accepting proxy protocol (`true` stands for enabled, `false` or anything else for disabled) - default `false`
134
134
*`COOKIES_ENABLED` The option to enable or disable cookie-based sessions (`true` stands for enabled, `false` or anything else for disabled) - default `false`
135
+
*`COOKIES_PARAMS` Will be added on cookie declaration - example `indirect nocache maxidle 30m maxlife 8h` or `maxlife 24h` - documentation https://cbonte.github.io/haproxy-dconv/1.8/configuration.html#4-cookie
135
136
*`BACKEND_NAME` The label of the backend - default `http-backend`
136
137
*`BACKENDS` The list of `server_ip:server_listening_port` to be load-balanced by HAProxy, separated by space - by default it is not set
137
138
*`BACKENDS_PORT` Port to use when auto-discovering backends, or when `BACKENDS` are specified without port - by default `80`
138
-
*`BACKENDS_MODE` Backends mode - default `http`
139
+
*`BACKENDS_MODE` Backends mode - default `http` or `FRONTEND_MODE` if declared
139
140
*`BALANCE` The algorithm used for load-balancing - default `roundrobin`
140
141
*`SERVICE_NAMES` An optional prefix for services to be included when discovering services separated by space. - by default it is not set
141
142
*`LOGGING` Override logging ip address:port - default is udp `127.0.0.1:514` inside container
0 commit comments