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

Loading…
Cancel
Save