mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-25 17:55:06 +01:00
59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
global:
|
|
checkNewVersion: false
|
|
sendAnonymousUsage: false
|
|
|
|
# --> (Optional) Change log level and format here ...
|
|
# - level: [TRACE, DEBUG, INFO, WARN, ERROR, FATAL]
|
|
# log:
|
|
# level: ERROR
|
|
# <--
|
|
|
|
# --> (Optional) Enable accesslog here ...
|
|
# accesslog: {}
|
|
# <--
|
|
|
|
# --> (Optional) Enable API and Dashboard here, don't do in production
|
|
# api:
|
|
# dashboard: true
|
|
# insecure: true
|
|
# <--
|
|
|
|
# -- Change EntryPoints here...
|
|
entryPoints:
|
|
web:
|
|
address: :80
|
|
# --> (Optional) Redirect all HTTP to HTTPS
|
|
# http:
|
|
# redirections:
|
|
# entryPoint:
|
|
# to: websecure
|
|
# scheme: https
|
|
# <--
|
|
websecure:
|
|
address: :443
|
|
|
|
# -- Configure your CertificateResolver here...
|
|
certificatesResolvers:
|
|
cloudflare:
|
|
acme:
|
|
email: your-email@example.com # <-- Change this to your email
|
|
storage: /var/traefik/certs/cloudflare-acme.json
|
|
caServer: "https://acme-v02.api.letsencrypt.org/directory"
|
|
dnsChallenge:
|
|
provider: cloudflare # <-- (Optional) Change this to your DNS provider
|
|
resolvers:
|
|
- "1.1.1.1:53"
|
|
- "8.8.8.8:53"
|
|
|
|
# --> (Optional) Disable TLS Cert verification check
|
|
# serversTransport:
|
|
# insecureSkipVerify: true
|
|
# <--
|
|
|
|
providers:
|
|
docker:
|
|
exposedByDefault: false # <-- (Optional) Change this to true if you want to expose all services
|
|
file:
|
|
directory: /etc/traefik
|
|
watch: true
|