SHA256
1
0
forked from pool/traefik
traefik/traefik.toml
Alexandre Vicenzi 61df38b048 Accepting request 1155081 from home:weberho:branches:devel:kubic
- configuration changes:
  * Enhanced default configuration file, including configs for http3 support.
  * Docker configuration has been disabled per default, file provider has been enabled.
    The directory for the file provider has been set to /etc/traefik/conf.d
  * Prepared directories for logging in /var/log/traefik
  * Enhanced default configuration file, including configs for http3 support. Settings
    are disabled per default.
- packaging general:
  * Use standard source-download feature, modified _service file and removed _servicedata
  * packagers can invoke `prepare-sources.sh` to doenload sources and prepare go-packages
    as well as node_modules for the built process.
- frontend packaging:
  * The frontend will now be packaged on OBS to have reproduceable builds.
- Go packaging: 
  * Added upstream patch traefik-fix-int-overflow-with-go-generate-10452.patch to
    allow packaging on 32bit architectures gh#traefik/traefik#10451
  * Enabled CGO because there is no cross compilation needed in OSB (we build
    packages for every distribution/architecture seperately). PIE can not be used
    with CGO enabled for most architectures and is reported as failure sinc go 1.22.
    See https://github.com/golang/go/issues/64875
  * Don't use pie-buildmode for ppc64 and s390x architectures
- Update to version 2.11.0:
  * Enhancements:
    * [middleware] Deprecate IPWhiteList middleware in favor of IPAllowList
    * [redis] Add Redis Sentinel support
    * [server] Add KeepAliveMaxTime and KeepAliveMaxRequests features to entrypoints
    * [sticky-session] Hash WRR sticky cookies
  * Bug fixes:
    * [acme] Update go-acme/lego to v4.15.0
    * [authentication] Fix NTLM and Kerberos
    * [file] Fix file watcher
    * [file] Update github.com/fsnotify/fsnotify to v1.7.0
    * [http3] Update quic-go to v0.40.1
    * [middleware,tcp] Add missing TCP IPAllowList middleware constructor
    * [nomad] Update the Nomad API dependency to v1.7.2
    * [server] Fix ReadHeaderTimeout for PROXY protocol
    * [webui] Fixes the Header Button
    * [webui] Fix URL encode resource's id before calling API endpoints

OBS-URL: https://build.opensuse.org/request/show/1155081
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/traefik?expand=0&rev=27
2024-03-05 13:28:36 +00:00

216 lines
5.2 KiB
TOML

################################################################
#
# Configuration sample for Traefik v2.
#
################################################################
################################################################
# Global configuration
################################################################
[global]
checkNewVersion = false
sendAnonymousUsage = false
#[tls.options]
# [tls.options.default]
# sniStrict = true
################################################################
# As the HTTP/3 spec is still in draft, HTTP/3 support in
# Traefik is an experimental feature and needs to be activated
# in the experimental section of the static configuration.
#
# Will be a stable feature starting with version 3
#
# https://doc.traefik.io/traefik/routing/entrypoints/#http3
################################################################
#[experimental]
# http3 = true
################################################################
# Entrypoints configuration
#
# https://doc.traefik.io/traefik/routing/entrypoints/
################################################################
# Optional
# Default:
[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
##
# [entryPoints.web.http]
# [entryPoints.web.http.redirections]
# [entryPoints.web.http.redirections.entryPoint]
# to = "websecure"
# scheme = "https"
## Enable the https endpoint at port 443
##
# [entryPoints.websecure]
# address = ":443"
## Enable the http3 and advertize it at UDP port 443
## In Version 2.x the experimental http3 feature must be enabled
# [entryPoints.websecure.http3]
# advertisedPort = 443
################################################################
# Traefik logs configuration
#
# https://doc.traefik.io/traefik/observability/logs/
################################################################
# 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 = "/var/log/traefik/traefik.log"
# Format is either "json" or "common".
#
# Optional
# Default: "common"
#
# format = "json"
################################################################
# Access logs configuration
#
# https://doc.traefik.io/traefik/observability/access-logs/
################################################################
# 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 = "/var/log/traefik/access.log"
# Format is either "json" or "common".
#
# Optional
# Default: "common"
#
# format = "json"
################################################################
# API and dashboard configuration
#
# https://doc.traefik.io/traefik/operations/api/
################################################################
# 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
#
# https://doc.traefik.io/traefik/operations/ping/
################################################################
# Enable ping
[ping]
# Name of the related entry point
#
# Optional
# Default: "traefik"
#
# entryPoint = "traefik"
################################################################
# Docker configuration provider
#
# https://doc.traefik.io/traefik/providers/docker/
################################################################
# Enable Docker configuration provider
#[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
################################################################
# File provider backend
#
# https://doc.traefik.io/traefik/providers/file/
################################################################
# Enable File configuration provider
[providers.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