moore home assistant
This commit is contained in:
28
apps/homeassistant/base/ingress.yaml
Normal file
28
apps/homeassistant/base/ingress.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: homeassistant
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`homeassistant.kluster.moll.re`)
|
||||
middlewares:
|
||||
- name: homeassistant
|
||||
kind: Rule
|
||||
services:
|
||||
- name: homeassistant
|
||||
port: 8123
|
||||
tls:
|
||||
certResolver: default-tls
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: homeassistant
|
||||
spec:
|
||||
headers:
|
||||
customRequestHeaders:
|
||||
X-Forwarded-Proto: "https"
|
||||
# enable websockets
|
||||
Upgrade: "websocket"
|
||||
Reference in New Issue
Block a user