traefik/traefik-conf.yaml hinzugefügt
This commit is contained in:
62
traefik/traefik-conf.yaml
Normal file
62
traefik/traefik-conf.yaml
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
# Global configuration
|
||||||
|
global:
|
||||||
|
checkNewVersion: false
|
||||||
|
sendAnonymousUsage: false
|
||||||
|
|
||||||
|
# Entrypoints configuration
|
||||||
|
entryPoints:
|
||||||
|
web:
|
||||||
|
address: :80
|
||||||
|
http:
|
||||||
|
redirections:
|
||||||
|
entryPoint:
|
||||||
|
to: websecure
|
||||||
|
scheme: https
|
||||||
|
permanent: true
|
||||||
|
|
||||||
|
websecure:
|
||||||
|
address: :443
|
||||||
|
asDefault: true
|
||||||
|
http:
|
||||||
|
tls: true
|
||||||
|
# certresolver: tlsResolver
|
||||||
|
|
||||||
|
# Certificate Resolvers configuration
|
||||||
|
#certificatesResolvers:
|
||||||
|
# tlsResolver:
|
||||||
|
# acme:
|
||||||
|
# email: proxy@example.com
|
||||||
|
# storage: /etc/traefik/certs/acme.json
|
||||||
|
# tlsChallenge: true
|
||||||
|
|
||||||
|
# Traefik logs configuration
|
||||||
|
log:
|
||||||
|
level: DEBUG
|
||||||
|
# filePath: os.Stdout
|
||||||
|
# format: common
|
||||||
|
|
||||||
|
# Access logs configuration
|
||||||
|
accessLog:
|
||||||
|
# filePath: os.Stdout
|
||||||
|
format: genericCLF
|
||||||
|
|
||||||
|
# API and dashboard configuration
|
||||||
|
api:
|
||||||
|
insecure: false
|
||||||
|
dashboard: true
|
||||||
|
|
||||||
|
# Ping configuration
|
||||||
|
#ping:
|
||||||
|
# entrypoint: traefik
|
||||||
|
|
||||||
|
# Backend configuration
|
||||||
|
providers:
|
||||||
|
docker:
|
||||||
|
# endpoint: unix:///var/run/docker.sock
|
||||||
|
# defaultRule: Host(`{{ normalize .Name }}.docker.localhost`)
|
||||||
|
exposedByDefault: false
|
||||||
|
network: proxy
|
||||||
|
|
||||||
|
file:
|
||||||
|
directory: /etc/traefik/config
|
||||||
|
watch: true
|
||||||
Reference in New Issue
Block a user