You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
|
|
kind: Middleware
|
|
|
|
metadata:
|
|
|
|
name: lychee-headers
|
|
|
|
namespace: lychee
|
|
|
|
spec:
|
|
|
|
headers:
|
|
|
|
customRequestHeaders:
|
|
|
|
X-Forwarded-Proto: https
|
|
|
|
X-Forwarded-Port: "443"
|
|
|
|
X-Forwarded-Host: lychee.trivernis.net
|
|
|
|
---
|
|
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
|
|
kind: IngressRoute
|
|
|
|
metadata:
|
|
|
|
name: web
|
|
|
|
namespace: lychee
|
|
|
|
spec:
|
|
|
|
entryPoints:
|
|
|
|
- web
|
|
|
|
routes:
|
|
|
|
- match: Host(`lychee.trivernis.net`)
|
|
|
|
kind: Rule
|
|
|
|
middlewares:
|
|
|
|
- name: security-headers
|
|
|
|
namespace: default
|
|
|
|
- name: lychee-headers
|
|
|
|
services:
|
|
|
|
- name: lychee
|
|
|
|
port: http
|
|
|
|
passHostHeader: true
|