Add traefik reverse proxy
This commit is contained in:
40
containers/traefik/templates/traefik.yml.j2
Normal file
40
containers/traefik/templates/traefik.yml.j2
Normal file
@@ -0,0 +1,40 @@
|
||||
log:
|
||||
level: "ERROR"
|
||||
|
||||
api:
|
||||
dashboard: true
|
||||
|
||||
accessLog:
|
||||
filters:
|
||||
statusCodes:
|
||||
- "400-418"
|
||||
- "500-508"
|
||||
|
||||
entryPoints:
|
||||
http:
|
||||
address: ":80"
|
||||
http:
|
||||
redirections:
|
||||
entryPoint:
|
||||
to: https
|
||||
scheme: https
|
||||
permanent: true
|
||||
https:
|
||||
address: ":443"
|
||||
|
||||
providers:
|
||||
docker:
|
||||
endpoint: "unix:///var/run/docker.sock"
|
||||
exposedByDefault: false
|
||||
file:
|
||||
directory: "/etc/traefik/conf"
|
||||
watch: true
|
||||
|
||||
certificatesResolvers:
|
||||
wildcard:
|
||||
acme:
|
||||
email: {{ vault_acme_admin_email }}
|
||||
storage: "/etc/traefik/acme_wildcard.json"
|
||||
keyType: "EC256"
|
||||
httpChallenge:
|
||||
entryPoint: http
|
||||
Reference in New Issue
Block a user