Files
k3s-manifests/manifests/sillytavern/middleware.yaml

12 lines
288 B
YAML

apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: oauth2-proxy
namespace: sillytavern
spec:
forwardAuth:
address: http://oauth2-proxy.sillytavern.svc.cluster.local:4180/oauth2/auth
authResponseHeaders:
- X-Auth-Request-User
- X-Auth-Request-Email