forked from pool/traefik
Alexandre Vicenzi
657b51e00e
- Update to version 2.10.7: * CVE-2023-45283 (boo#1216943) * CVE-2023-45284 (boo#1216944) * CVE-2023-47124 (boo#1217806) * CVE-2023-47633 (boo#1217807) * CVE-2023-47106 (boo#1217804) * GHSA-7v4p-328v-8v5g, CVE-2023-39325 (boo#1216109) OBS-URL: https://build.opensuse.org/request/show/1132710 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/traefik?expand=0&rev=23
151 lines
3.2 KiB
TOML
151 lines
3.2 KiB
TOML
################################################################
|
|
#
|
|
# Configuration sample for Traefik v2.
|
|
#
|
|
################################################################
|
|
|
|
################################################################
|
|
# Global configuration
|
|
################################################################
|
|
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
################################################################
|
|
# Entrypoints configuration
|
|
################################################################
|
|
|
|
# Entrypoints definition
|
|
#
|
|
# Optional
|
|
# Default:
|
|
[entryPoints]
|
|
[entryPoints.web]
|
|
address = ":80"
|
|
|
|
[entryPoints.websecure]
|
|
address = ":443"
|
|
|
|
################################################################
|
|
# Traefik logs configuration
|
|
################################################################
|
|
|
|
# Traefik logs
|
|
# Enabled by default and log to stdout
|
|
#
|
|
# Optional
|
|
#
|
|
[log]
|
|
|
|
# Log level
|
|
#
|
|
# Optional
|
|
# Default: "ERROR"
|
|
#
|
|
# level = "DEBUG"
|
|
|
|
# Sets the filepath for the traefik log. If not specified, stdout will be used.
|
|
# Intermediate directories are created if necessary.
|
|
#
|
|
# Optional
|
|
# Default: os.Stdout
|
|
#
|
|
# filePath = "log/traefik.log"
|
|
|
|
# Format is either "json" or "common".
|
|
#
|
|
# Optional
|
|
# Default: "common"
|
|
#
|
|
# format = "json"
|
|
|
|
################################################################
|
|
# Access logs configuration
|
|
################################################################
|
|
|
|
# Enable access logs
|
|
# By default it will write to stdout and produce logs in the textual
|
|
# Common Log Format (CLF), extended with additional fields.
|
|
#
|
|
# Optional
|
|
#
|
|
# [accessLog]
|
|
|
|
# Sets the file path for the access log. If not specified, stdout will be used.
|
|
# Intermediate directories are created if necessary.
|
|
#
|
|
# Optional
|
|
# Default: os.Stdout
|
|
#
|
|
# filePath = "/path/to/log/log.txt"
|
|
|
|
# Format is either "json" or "common".
|
|
#
|
|
# Optional
|
|
# Default: "common"
|
|
#
|
|
# format = "json"
|
|
|
|
################################################################
|
|
# API and dashboard configuration
|
|
################################################################
|
|
|
|
# Enable API and dashboard
|
|
[api]
|
|
|
|
# Enable the API in insecure mode
|
|
#
|
|
# Optional
|
|
# Default: false
|
|
#
|
|
# insecure = true
|
|
|
|
# Enabled Dashboard
|
|
#
|
|
# Optional
|
|
# Default: true
|
|
#
|
|
# dashboard = false
|
|
|
|
################################################################
|
|
# Ping configuration
|
|
################################################################
|
|
|
|
# Enable ping
|
|
[ping]
|
|
|
|
# Name of the related entry point
|
|
#
|
|
# Optional
|
|
# Default: "traefik"
|
|
#
|
|
# entryPoint = "traefik"
|
|
|
|
################################################################
|
|
# Docker configuration backend
|
|
################################################################
|
|
|
|
# Enable Docker configuration backend
|
|
[providers.docker]
|
|
|
|
# Docker server endpoint. Can be a tcp or a unix socket endpoint.
|
|
#
|
|
# Required
|
|
# Default: "unix:///var/run/docker.sock"
|
|
#
|
|
# endpoint = "tcp://10.10.10.10:2375"
|
|
|
|
# Default host rule.
|
|
#
|
|
# Optional
|
|
# Default: "Host(`{{ normalize .Name }}`)"
|
|
#
|
|
# defaultRule = "Host(`{{ normalize .Name }}.docker.localhost`)"
|
|
|
|
# Expose containers by default in traefik
|
|
#
|
|
# Optional
|
|
# Default: true
|
|
#
|
|
# exposedByDefault = false
|