diff --git a/dmz/traefik/templates/middleware.yaml b/dmz/traefik/templates/middleware.yaml index 5243d0a..5cb657b 100644 --- a/dmz/traefik/templates/middleware.yaml +++ b/dmz/traefik/templates/middleware.yaml @@ -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