27 lines
553 B
YAML
27 lines
553 B
YAML
|
---
|
||
|
apiVersion: traefik.containo.us/v1alpha1
|
||
|
kind: IngressRoute
|
||
|
metadata:
|
||
|
name: matrix
|
||
|
namespace: matrix
|
||
|
spec:
|
||
|
entryPoints:
|
||
|
- websecure
|
||
|
routes:
|
||
|
- match: Host(`chat.spamasaurus.com`) && PathPrefix(`/_matrix`)
|
||
|
kind: Rule
|
||
|
services:
|
||
|
- name: dendrite
|
||
|
port: 8008
|
||
|
middlewares:
|
||
|
- name: security-headers@file
|
||
|
- name: compression@file
|
||
|
- match: Host(`chat.spamasaurus.com`)
|
||
|
kind: Rule
|
||
|
services:
|
||
|
- name: element
|
||
|
port: 80
|
||
|
middlewares:
|
||
|
- name: security-headers@file
|
||
|
- name: compression@file
|