apps(lychee): Add headers fix

main
trivernis 9 months ago
parent ad56b8b983
commit 85213268f8
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -1,4 +1,14 @@
apiVersion: traefik.containo.us/v1alpha1 apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: lychee-headers
namespace: lychee
spec:
headers:
customRequestHeaders:
X-Forwarded-Proto: https
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute kind: IngressRoute
metadata: metadata:
name: web name: web
@ -10,8 +20,9 @@ spec:
- match: Host(`lychee.trivernis.net`, `lychee.iulse.com`) - match: Host(`lychee.trivernis.net`, `lychee.iulse.com`)
kind: Rule kind: Rule
middlewares: middlewares:
- name: strict-security-headers # - name: strict-security-headers
namespace: default # namespace: default
- name: lychee-headers
services: services:
- name: lychee - name: lychee
port: http port: http

Loading…
Cancel
Save