middleware
This commit is contained in:
@@ -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.mistborn_auth.forwardAuth]
|
|
||||||
# address = "http://10.2.3.1:5000/auth/"
|
|
||||||
# trustForwardHeader = true
|
|
||||||
# [http.middlewares.mistborn_auth.forwardAuth.tls]
|
|
||||||
# insecureSkipVerify = true
|
|
||||||
|
|
||||||
|
[http.middlewares]
|
||||||
[http.middlewares.mistborn_headers.headers]
|
[http.middlewares.mistborn_headers.headers]
|
||||||
hostsProxyHeaders = ['X-CSRFToken']
|
hostsProxyHeaders = ['X-CSRFToken']
|
||||||
Reference in New Issue
Block a user