This commit is contained in:
parent
1fccb6896e
commit
eb0b205efb
2 changed files with 20 additions and 8 deletions
|
|
@ -18,6 +18,7 @@ data:
|
||||||
# middlewares:
|
# middlewares:
|
||||||
# - auth@file
|
# - auth@file
|
||||||
# - secure_headers@file
|
# - secure_headers@file
|
||||||
|
# - crowdsec-bouncer@file
|
||||||
redirections:
|
redirections:
|
||||||
entryPoint:
|
entryPoint:
|
||||||
to: websecure
|
to: websecure
|
||||||
|
|
@ -27,6 +28,10 @@ data:
|
||||||
http:
|
http:
|
||||||
tls:
|
tls:
|
||||||
options: default
|
options: default
|
||||||
|
# middlewares:
|
||||||
|
# - auth@file
|
||||||
|
# - secure_headers@file
|
||||||
|
# - crowdsec-bouncer@file
|
||||||
traefik:
|
traefik:
|
||||||
address: ":9000/tcp"
|
address: ":9000/tcp"
|
||||||
{% for traefik_entrypoint in traefik_entrypoints %}
|
{% for traefik_entrypoint in traefik_entrypoints %}
|
||||||
|
|
@ -56,11 +61,14 @@ data:
|
||||||
log:
|
log:
|
||||||
level: WARN
|
level: WARN
|
||||||
format: json
|
format: json
|
||||||
accessLog:
|
accessLog: {}
|
||||||
format: json
|
#accessLog:
|
||||||
fields:
|
# filePath: "/var/log/traefik/access.log"
|
||||||
names:
|
# bufferingSize: 50
|
||||||
BackendAddr: keep
|
## format: json
|
||||||
BackendName: keep
|
## fields:
|
||||||
BackendURL: keep
|
## names:
|
||||||
FrontendName: keep
|
## BackendAddr: keep
|
||||||
|
## BackendName: keep
|
||||||
|
## BackendURL: keep
|
||||||
|
## FrontendName: keep
|
||||||
|
|
|
||||||
|
|
@ -82,6 +82,10 @@ data:
|
||||||
- "Remote-Groups"
|
- "Remote-Groups"
|
||||||
- "Remote-Name"
|
- "Remote-Name"
|
||||||
- "Remote-Email"
|
- "Remote-Email"
|
||||||
|
crowdsec-bouncer:
|
||||||
|
forwardAuth:
|
||||||
|
address: "http://crowdsec-traefik-bouncer:8080/api/v1/forwardAuth
|
||||||
|
trustForwardHeader: true
|
||||||
|
|
||||||
traefik-tls-defaults-options.yaml: |
|
traefik-tls-defaults-options.yaml: |
|
||||||
tls:
|
tls:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue