|
|
@ -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
|
|
|
|