fix: apply rule for routing
This commit is contained in:
@@ -12,7 +12,7 @@ spec:
|
|||||||
address: http://ak-outpost-traefik-proxy-auth.authentik.svc.cluster.local:9000/outpost.goauthentik.io/auth/traefik
|
address: http://ak-outpost-traefik-proxy-auth.authentik.svc.cluster.local:9000/outpost.goauthentik.io/auth/traefik
|
||||||
trustForwardHeader: true
|
trustForwardHeader: true
|
||||||
authRequestHeaders:
|
authRequestHeaders:
|
||||||
- X-Forwarded-Proto
|
- X-Forwarded-Proto
|
||||||
authResponseHeaders:
|
authResponseHeaders:
|
||||||
- Set-Cookie
|
- Set-Cookie
|
||||||
- X-authentik-username
|
- X-authentik-username
|
||||||
|
|||||||
@@ -82,6 +82,14 @@ sonarr-4k:
|
|||||||
hostnames:
|
hostnames:
|
||||||
- sonarr-4k.alexlebens.net
|
- sonarr-4k.alexlebens.net
|
||||||
rules:
|
rules:
|
||||||
|
- backendRefs:
|
||||||
|
- name: ak-outpost-traefik-proxy-auth
|
||||||
|
namespace: authentik
|
||||||
|
port: 9000
|
||||||
|
matches:
|
||||||
|
- path:
|
||||||
|
type: PathPrefix
|
||||||
|
value: /outpost.goauthentik.io
|
||||||
- backendRefs:
|
- backendRefs:
|
||||||
- group: ''
|
- group: ''
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
Reference in New Issue
Block a user