Skip to content

Commit b98043f

Browse files
author
Gaurav Nelson
authored
Merge pull request #3259 from gaurav-nelson/RouterVariablesFor3.4
Added Rotuter Variables for version 3.4
2 parents c087d88 + 2576ca3 commit b98043f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

architecture/core_concepts/routes.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,12 @@ variables on the *deployment config* for the router to alter its configuration.
201201
|`*PROJECT_LABELS*` | | A label selector to apply to projects to watch, emtpy means all.
202202
|`*RELOAD_SCRIPT*` | | The path to the reload script to use to reload the router.
203203
|`*ROUTER_BACKEND_CHECK_INTERVAL*` | 5000ms | Length of time between subsequent "liveness" checks on backends.
204+
|`*ROUTER_COMPRESSION_MIME*` | "text/html text/plain text/css" | A space separated list of mime types to compress.
204205
|`*ROUTER_DEFAULT_CLIENT_TIMEOUT*`| 30s | Length of time within which a client has to acknowledge or send data.
205206
|`*ROUTER_DEFAULT_CONNECT_TIMEOUT*`| 5s | The maximum connect time.
206207
|`*ROUTER_DEFAULT_SERVER_TIMEOUT*`| 30s | Length of time within which a server has to acknowledge or send data.
207208
|`*ROUTER_DEFAULT_TUNNEL_TIMEOUT*` | 1h | Length of time till which TCP or WebSocket connections will remain open.
209+
|`*ROUTER_ENABLE_COMPRESSION*`| false | If `true`, compress responses when possible.
208210
|`*ROUTER_LOG_LEVEL*` | warning | The log level to send to the syslog server.
209211
|`*ROUTER_OVERRIDE_HOSTNAME*`| | If set, override the spec.host value for a route with the template in ROUTER_SUBDOMAIN.
210212
|`*ROUTER_SERVICE_HTTPS_PORT*` | 443 | Port to listen for https requests.

0 commit comments

Comments
 (0)