@ -42,10 +42,8 @@ spec:
value: /lychee/db/lychee.db
- name: APP_URL
value: https://lychee.trivernis.net
- name: APP_FORCE_HTTPS
value: "true"
- name: TRUSTED_PROXIES
value: '167.235.111.84,10.0.0.254'
value: '*'
volumes:
- name: lychee-sym
persistentVolumeClaim:
@ -1,18 +1,4 @@
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"
---
kind: IngressRoute
name: web
@ -26,7 +12,7 @@ spec:
middlewares:
- name: security-headers
namespace: default
- name: lychee-headers
services:
- name: lychee
port: http
passHostHeader: true