Browse Source

middleware

183-redis
Steven Foerster 5 years ago
parent
commit
3267aaf3de
  1. 10
      compose/production/traefik/dynamic.toml

10
compose/production/traefik/dynamic.toml

@ -18,14 +18,8 @@
rule = "Host(`cockpit.mistborn`)" rule = "Host(`cockpit.mistborn`)"
service = "cockpit" service = "cockpit"
entrypoints = ["web", "websecure"] entrypoints = ["web", "websecure"]
middlewares = ["mistborn_auth"] middlewares = ["mistborn_auth@docker"]
#[http.middlewares] [http.middlewares]
# [http.middlewares.mistborn_auth.forwardAuth]
# address = "http://10.2.3.1:5000/auth/"
# trustForwardHeader = true
# [http.middlewares.mistborn_auth.forwardAuth.tls]
# insecureSkipVerify = true
[http.middlewares.mistborn_headers.headers] [http.middlewares.mistborn_headers.headers]
hostsProxyHeaders = ['X-CSRFToken'] hostsProxyHeaders = ['X-CSRFToken']
Loading…
Cancel
Save