apps(lychee): Set more headers

main
trivernis 9 months ago
parent 90b9bbce2f
commit bb4f88c21d
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -1,4 +1,18 @@
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
X-Forwarded-Host: lychee.trivernis.net
Host: lychee.trivernis.net
X-Forwarded-Port: "443"
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute kind: IngressRoute
metadata: metadata:
name: web name: web
@ -12,6 +26,7 @@ spec:
middlewares: middlewares:
- name: security-headers - name: security-headers
namespace: default namespace: default
- name: lychee-headers
services: services:
- name: lychee - name: lychee
port: http port: http

Loading…
Cancel
Save