|
|
@ -1,4 +1,14 @@
|
|
|
|
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
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
|
|
kind: IngressRoute
|
|
|
|
kind: IngressRoute
|
|
|
|
metadata:
|
|
|
|
metadata:
|
|
|
|
name: web
|
|
|
|
name: web
|
|
|
@ -10,8 +20,9 @@ spec:
|
|
|
|
- match: Host(`lychee.trivernis.net`, `lychee.iulse.com`)
|
|
|
|
- match: Host(`lychee.trivernis.net`, `lychee.iulse.com`)
|
|
|
|
kind: Rule
|
|
|
|
kind: Rule
|
|
|
|
middlewares:
|
|
|
|
middlewares:
|
|
|
|
- name: strict-security-headers
|
|
|
|
# - name: strict-security-headers
|
|
|
|
namespace: default
|
|
|
|
# namespace: default
|
|
|
|
|
|
|
|
- name: lychee-headers
|
|
|
|
services:
|
|
|
|
services:
|
|
|
|
- name: lychee
|
|
|
|
- name: lychee
|
|
|
|
port: http
|
|
|
|
port: http
|
|
|
|