forked from bitlair/ansible
homeassistant
This commit is contained in:
parent
fc443544d3
commit
381a0e2c2e
3 changed files with 22 additions and 0 deletions
14
snippets/homeassistant-nginx.j2
Normal file
14
snippets/homeassistant-nginx.j2
Normal file
|
@ -0,0 +1,14 @@
|
|||
location /api/ {
|
||||
proxy_pass http://127.0.0.1:8123;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8123;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue