corrected reverse proxy for hass
This commit is contained in:
Binary file not shown.
@@ -4,6 +4,7 @@
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
mode: 640
|
||||
with_items:
|
||||
- /usr/share/hass
|
||||
- /usr/share/hass/media
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
upstream hass {
|
||||
server 127.0.0.1:8123;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name {{ assistant_server_name }};
|
||||
@@ -12,6 +15,6 @@ server {
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
|
||||
proxy_buffering off;
|
||||
proxy_pass http://localhost:8123;
|
||||
proxy_pass http://hass;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user