Alexandre Vicenzi
d186ab4932
- Moved configuraton from .toml to .yml config - Update to version 3.0.0 * Announcment: https://traefik.io/blog/announcing-traefik-proxy-v3-rc/ * added support for popular, emerging technologies—WebAssembly (Wasm), OpenTelemetry, and Kubernetes Gateway API * revamped some key parts of the routing rules * added support for some leading edge technologies like HTTP/3, SPIFFE, and Tailscale * Migration guide: https://doc.traefik.io/traefik/v3.0/migration/v2-to-v3/ * Details: https://github.com/traefik/traefik/releases/tag/v3.0.0 OBS-URL: https://build.opensuse.org/request/show/1172482 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/traefik?expand=0&rev=33
142 lines
5.3 KiB
YAML
142 lines
5.3 KiB
YAML
# ------------------------------------------------------------------------
|
|
# Configuration for Traefik v3
|
|
# ------------------------------------------------------------------------
|
|
|
|
# ------------------------------------------------------------------------
|
|
# Global configuration
|
|
# ------------------------------------------------------------------------
|
|
global:
|
|
checkNewVersion: false
|
|
sendAnonymousUsage: false
|
|
|
|
# ------------------------------------------------------------------------
|
|
# TLS specific configuration
|
|
# ------------------------------------------------------------------------
|
|
#tls:
|
|
# options:
|
|
# default:
|
|
# sniStrict: true
|
|
|
|
# ------------------------------------------------------------------------
|
|
# Entrypoints configuration
|
|
# https://doc.traefik.io/traefik/routing/entrypoints/
|
|
# ------------------------------------------------------------------------
|
|
entryPoints:
|
|
web:
|
|
address: ":80"
|
|
# ------------------------------------------------------------------------
|
|
# Redirect all requests incoming from http to https
|
|
# websecure/https must be enabled to be use this configuration
|
|
# https://doc.traefik.io/traefik/routing/entrypoints/#redirection
|
|
# ------------------------------------------------------------------------
|
|
#http:
|
|
# redirections:
|
|
# entryPoint:
|
|
# to: websecure
|
|
# scheme: https
|
|
|
|
# ------------------------------------------------------------------------
|
|
# Enable the https endpoint at port 443
|
|
# ------------------------------------------------------------------------
|
|
#websecure:
|
|
# address: :443
|
|
|
|
# ------------------------------------------------------------------------
|
|
# Enable the http3 and advertize it at UDP port 443
|
|
# ------------------------------------------------------------------------
|
|
#http3:
|
|
# advertisedPort: 443
|
|
|
|
|
|
# ------------------------------------------------------------------------
|
|
# Traefik logs configuration
|
|
# Enabled if uncommented
|
|
# https://doc.traefik.io/traefik/observability/logs/
|
|
# ------------------------------------------------------------------------
|
|
log:
|
|
# Set traefik's log-level
|
|
# Default: ERROR
|
|
#level: DEBUG
|
|
|
|
|
|
# ------------------------------------------------------------------------
|
|
# Traefik access-log destination and format
|
|
# uncomment to enable
|
|
# https://doc.traefik.io/traefik/observability/logs/
|
|
# ------------------------------------------------------------------------
|
|
#accessLog:
|
|
# ------------------------------------------------------------------------
|
|
# Set the filepath for the traefik log-file.
|
|
# Default: os.Stdout
|
|
#filePath: /var/log/traefik/traefik.log
|
|
# ------------------------------------------------------------------------
|
|
# Write logs in the 'common' or 'json' format.
|
|
# Default: common
|
|
#format: json
|
|
|
|
|
|
# ------------------------------------------------------------------------
|
|
# API and dashboard configuration.
|
|
# Uncomment to enable
|
|
# https://doc.traefik.io/traefik/operations/api/
|
|
# ------------------------------------------------------------------------
|
|
api:
|
|
# ------------------------------------------------------------------------
|
|
# Enable the API in insecure mode
|
|
# Default: false
|
|
insecure: false
|
|
# ------------------------------------------------------------------------
|
|
# Enable the dashboard
|
|
# Default: true
|
|
dashboard: true
|
|
|
|
|
|
# ------------------------------------------------------------------------
|
|
# Ping configuration
|
|
# https://doc.traefik.io/traefik/operations/ping/
|
|
# --------------------------------------------------------------------------
|
|
ping:
|
|
# --------------------------------------------------------------------------
|
|
# Name of the related entry point
|
|
# Default: "traefik"
|
|
entryPoint: traefik
|
|
|
|
|
|
# --------------------------------------------------------------------------
|
|
# Provider configuration
|
|
# --------------------------------------------------------------------------
|
|
providers:
|
|
# ------------------------------------------------------------------------
|
|
# Docker configuration provider
|
|
# Default: disabled
|
|
# https://doc.traefik.io/traefik/providers/docker/
|
|
# ------------------------------------------------------------------------
|
|
#docker:
|
|
# ----------------------------------------------------------------------
|
|
# Docker server endpoint. Can be a tcp or a unix socket endpoint.
|
|
# Default: "unix:///var/run/docker.sock"
|
|
#endpoint: tcp://10.10.10.10:2375
|
|
# ----------------------------------------------------------------------
|
|
# defaultRule: Host(`{{ normalize .Name }}.docker.localhost`)
|
|
# ----------------------------------------------------------------------
|
|
# Expose containers by default in traefik
|
|
# Default: true
|
|
#exposedByDefault: false
|
|
|
|
# ------------------------------------------------------------------------
|
|
# File configuration provider
|
|
# Default: disabled
|
|
# https://doc.traefik.io/traefik/providers/docker/
|
|
# ------------------------------------------------------------------------
|
|
file:
|
|
# ----------------------------------------------------------------------
|
|
# Defines the path to the directory that contains the configuration files.
|
|
# Default: unset
|
|
directory: /etc/traefik/conf.d
|
|
# ----------------------------------------------------------------------
|
|
# Set the watch option to true to allow Traefik to automatically
|
|
# watch for file changes
|
|
# Default: false
|
|
watch: true
|
|
|