update
This commit is contained in:
@@ -5,7 +5,7 @@ metadata:
|
||||
namespace: traefik
|
||||
spec:
|
||||
forwardAuth:
|
||||
address: https://authentik.durp.info/outpost.goauthentik.io/auth/traefik
|
||||
address: https://authentik.durp.info/outpost.goauthentik.io/auth/traefik?rd=$scheme://$http_host$request_uri
|
||||
trustForwardHeader: true
|
||||
authResponseHeaders:
|
||||
- X-authentik-username
|
||||
@@ -34,21 +34,21 @@ spec:
|
||||
- 10.0.0.0/8
|
||||
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: bouncer
|
||||
namespace: traefik
|
||||
spec:
|
||||
plugin:
|
||||
bouncer:
|
||||
enabled: true
|
||||
crowdsecMode: stream
|
||||
crowdsecLapiScheme: https
|
||||
crowdsecLapiTLSInsecureVerify: true
|
||||
crowdsecLapiHost: crowdsec-service.crowdsec:8080
|
||||
crowdsecLapiKey:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: crowdsec-lapi-key
|
||||
key: lapi-key
|
||||
#apiVersion: traefik.io/v1alpha1
|
||||
#kind: Middleware
|
||||
#metadata:
|
||||
# name: bouncer
|
||||
# namespace: traefik
|
||||
#spec:
|
||||
# plugin:
|
||||
# bouncer:
|
||||
# enabled: true
|
||||
# crowdsecMode: stream
|
||||
# crowdsecLapiScheme: https
|
||||
# crowdsecLapiTLSInsecureVerify: true
|
||||
# crowdsecLapiHost: crowdsec-service.crowdsec:8080
|
||||
# crowdsecLapiKey:
|
||||
# valueFrom:
|
||||
# secretKeyRef:
|
||||
# name: crowdsec-lapi-key
|
||||
# key: lapi-key
|
||||
|
||||
Reference in New Issue
Block a user