homeassistant headers
This commit is contained in:
parent
7292582844
commit
ff3881428c
@ -18,6 +18,7 @@ http:
|
||||
forward-duckdns:
|
||||
service: noop@internal
|
||||
rule: HostRegexp(`(.+\.)?urmel\.duckdns\.org`)
|
||||
priority: 1
|
||||
middlewares: redirect-duckdns@file
|
||||
tls:
|
||||
certResolver: duckdns
|
||||
|
||||
@ -3,14 +3,23 @@ http:
|
||||
homeassistant:
|
||||
service: homeassistant
|
||||
rule: Host(`home.urmel.de`)
|
||||
priority: 10
|
||||
entryPoints:
|
||||
- https
|
||||
- http
|
||||
tls: true
|
||||
|
||||
tls:
|
||||
certResolver: hetzner
|
||||
middlewares:
|
||||
- homeassistant-headers
|
||||
services:
|
||||
homeassistant:
|
||||
loadbalancer:
|
||||
servers:
|
||||
- url: "http://172.24.2.4:8123"
|
||||
passHostHeader: true
|
||||
middlewares:
|
||||
homeassistant-headers:
|
||||
headers:
|
||||
customRequestHeaders:
|
||||
X-Frame-Options: "ALLOW-FROM *"
|
||||
Content-Security-Policy: "frame-ancestors *"
|
||||
Loading…
x
Reference in New Issue
Block a user