apps(lychee): Figure out why it doesn't work

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

@ -42,10 +42,8 @@ spec:
value: /lychee/db/lychee.db value: /lychee/db/lychee.db
- name: APP_URL - name: APP_URL
value: https://lychee.trivernis.net value: https://lychee.trivernis.net
- name: APP_FORCE_HTTPS
value: "true"
- name: TRUSTED_PROXIES - name: TRUSTED_PROXIES
value: '167.235.111.84,10.0.0.254' value: '*'
volumes: volumes:
- name: lychee-sym - name: lychee-sym
persistentVolumeClaim: persistentVolumeClaim:

@ -1,18 +1,4 @@
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
@ -26,7 +12,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
passHostHeader: true

Loading…
Cancel
Save