mirror of
https://github.com/lordmathis/dev-cluster.git
synced 2025-12-22 16:44:24 +00:00
16 lines
415 B
YAML
16 lines
415 B
YAML
# /infrastructure/prod/authelia/forward-auth-middleware.yaml
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
kind: Middleware
|
|
metadata:
|
|
name: authelia
|
|
namespace: auth
|
|
spec:
|
|
forwardAuth:
|
|
address: 'http://authelia.auth.svc.cluster.local/api/verify?rd=https://auth.example.com'
|
|
trustForwardHeader: true
|
|
authResponseHeaders:
|
|
- "Remote-User"
|
|
- "Remote-Groups"
|
|
- "Remote-Email"
|
|
- "Remote-Name"
|