From f3b7ca03906d79ccd36d72e84886222d273b0250 Mon Sep 17 00:00:00 2001 From: trivernis Date: Thu, 15 Feb 2024 15:52:23 +0100 Subject: [PATCH] apps(lychee): Fix X-headers --- apps/lychee/app/route.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/lychee/app/route.yaml b/apps/lychee/app/route.yaml index c9f9ce3..60477d1 100644 --- a/apps/lychee/app/route.yaml +++ b/apps/lychee/app/route.yaml @@ -7,6 +7,7 @@ spec: headers: customRequestHeaders: X-Forwarded-Proto: https + X-Forwarded-SSL: on --- apiVersion: traefik.containo.us/v1alpha1 kind: IngressRoute @@ -19,10 +20,10 @@ spec: routes: - match: Host(`lychee.trivernis.net`) kind: Rule - # middlewares: - # - name: strict-security-headers - # namespace: default - # - name: lychee-headers + middlewares: + - name: strict-security-headers + namespace: default + - name: lychee-headers services: - name: lychee port: http