Initial commit
This commit is contained in:
76
traefik-crowdsec-stack/traefik/traefik.yml
Normal file
76
traefik-crowdsec-stack/traefik/traefik.yml
Normal file
@@ -0,0 +1,76 @@
|
||||
api:
|
||||
dashboard: true
|
||||
|
||||
metrics:
|
||||
prometheus:
|
||||
addrouterslabels: true
|
||||
|
||||
certificatesResolvers:
|
||||
http_resolver:
|
||||
acme:
|
||||
email: "webmaster@prothmann.com"
|
||||
storage: "acme_letsencrypt.json"
|
||||
httpChallenge:
|
||||
entryPoint: web
|
||||
tls_resolver:
|
||||
acme:
|
||||
tlsChallenge: true
|
||||
email: "webmaster@prothmann.com"
|
||||
storage: "tls_letsencrypt.json"
|
||||
entryPoints:
|
||||
ping:
|
||||
address: ":88"
|
||||
web:
|
||||
address: ":80"
|
||||
http:
|
||||
redirections:
|
||||
entryPoint:
|
||||
to: "websecure"
|
||||
scheme: "https"
|
||||
middlewares:
|
||||
- traefik-crowdsec-bouncer@file
|
||||
websecure:
|
||||
address: ":443"
|
||||
http:
|
||||
middlewares:
|
||||
- traefik-crowdsec-bouncer@file
|
||||
proxyProtocol:
|
||||
trustedIPs:
|
||||
- 10.0.0.0/8
|
||||
- 172.16.0.0/12
|
||||
- 192.168.0.0/16
|
||||
forwardedHeaders:
|
||||
trustedIPs:
|
||||
- 10.0.0.0/8
|
||||
- 172.16.0.0/12
|
||||
- 192.168.0.0/16
|
||||
|
||||
ping:
|
||||
entryPoint: "ping"
|
||||
|
||||
global:
|
||||
checknewversion: true
|
||||
sendanonymoususage: false
|
||||
|
||||
experimental:
|
||||
plugins:
|
||||
real-ip:
|
||||
moduleName: github.com/Paxxs/traefik-get-real-ip
|
||||
version: "v1.0.2"
|
||||
|
||||
providers:
|
||||
docker:
|
||||
endpoint: "unix:///var/run/docker.sock"
|
||||
exposedByDefault: false
|
||||
network: "proxy"
|
||||
file:
|
||||
filename: "./dynamic_conf.yml"
|
||||
watch: true
|
||||
providersThrottleDuration: 10
|
||||
|
||||
log:
|
||||
level: "INFO"
|
||||
filePath: "/var/log/traefik/traefik.log"
|
||||
accessLog:
|
||||
filePath: "/var/log/traefik/access.log"
|
||||
bufferingSize: 100
|
||||
Reference in New Issue
Block a user