From 540a9c6f8a4d382b5abe2bde6eba25f1e7a0ed86 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sun, 19 May 2024 06:47:17 -0500 Subject: [PATCH] update --- durpapi/templates/ingress.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/durpapi/templates/ingress.yaml b/durpapi/templates/ingress.yaml index b722670..3d33391 100644 --- a/durpapi/templates/ingress.yaml +++ b/durpapi/templates/ingress.yaml @@ -10,6 +10,7 @@ spec: kind: Rule middlewares: - name: jwt + - name: traefik-real-ip services: - name: "durpapi-service" port: 80 @@ -42,3 +43,15 @@ spec: Required: true Keys: - https://authentik.durp.info/application/o/api/jwks + +--- + +apiVersion: traefik.containo.us/v1alpha1 +kind: Middleware +metadata: + name: traefik-real-ip +spec: + plugin: + traefik-real-ip: + excludednets: + - "1.1.1.1/24"