diff --git a/docs/content/https/tls.md b/docs/content/https/tls.md index 9b1023386..789a46937 100644 --- a/docs/content/https/tls.md +++ b/docs/content/https/tls.md @@ -183,9 +183,9 @@ spec: ### Maximum TLS Version -We discourages the use of this setting to disable TLS1.3. +We discourage the use of this setting to disable TLS1.3. -The right approach is to update the clients to support TLS1.3. +The recommended approach is to update the clients to support TLS1.3. ```toml tab="File (TOML)" # Dynamic configuration @@ -316,7 +316,7 @@ spec: ### Strict SNI Checking -With strict SNI checking, Traefik won't allow connections from clients connections +With strict SNI checking enabled, Traefik won't allow connections from clients that do not specify a server_name extension or don't match any certificate configured on the tlsOption. ```toml tab="File (TOML)" diff --git a/docs/content/migration/v1-to-v2.md b/docs/content/migration/v1-to-v2.md index 8dbc4686a..fb8e0f983 100644 --- a/docs/content/migration/v1-to-v2.md +++ b/docs/content/migration/v1-to-v2.md @@ -501,7 +501,7 @@ To apply a redirection: [http.routers.router1.tls] [http.middlewares] - [http.middlewares.https-redirect.redirectScheme] + [http.middlewares.https_redirect.redirectScheme] scheme = "https" permanent = true ``` diff --git a/docs/content/observability/access-logs.md b/docs/content/observability/access-logs.md index fc9f424dc..294182fb5 100644 --- a/docs/content/observability/access-logs.md +++ b/docs/content/observability/access-logs.md @@ -217,3 +217,32 @@ This allows the logs to be rotated and processed by an external program, such as !!! warning This does not work on Windows due to the lack of USR signals. + +## Time Zones + +Traefik will timestamp each log line in UTC time by default. + +It is possible to configure the Traefik to timestamp in a specific timezone by ensuring the following configuration has been made in your environment: + +1. Provide time zone data to `/etc/localtime` or `/usr/share/zoneinfo` (based on your distribution) or set the environment variable TZ to the desired timezone +2. Specify the field `StartLocal` by dropping the field named `StartUTC` (available on the default Common Log Format (CLF) as well as JSON) + +Example utilizing Docker Compose: + +```yaml +version: "3.7" + +services: + traefik: + image: traefik:v2.2 + environment: + - TZ=US/Alaska + command: + - --accesslog + - --accesslog.fields.names.StartUTC=drop + - --providers.docker + ports: + - 80:80 + volumes: + - /var/run/docker.sock:/var/run/docker.sock +```