websocket stuff
This commit is contained in:
parent
bfd42f2a10
commit
f785fe8480
2 changed files with 2 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: EPaper Station
|
name: EPaper Station
|
||||||
version: 1.0.0.39
|
version: 1.0.0.40
|
||||||
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
|
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
|
||||||
slug: epaper-station
|
slug: epaper-station
|
||||||
description: Publish Pictures to EPaper pricetags
|
description: Publish Pictures to EPaper pricetags
|
||||||
|
|
|
@ -10,11 +10,6 @@ http {
|
||||||
charset utf-8;
|
charset utf-8;
|
||||||
# access_log /dev/stdout;
|
# access_log /dev/stdout;
|
||||||
|
|
||||||
map $http_upgrade $connection_upgrade {
|
|
||||||
default upgrade;
|
|
||||||
'' close;
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
listen 8099;
|
listen 8099;
|
||||||
|
@ -32,9 +27,8 @@ http {
|
||||||
location /ws {
|
location /ws {
|
||||||
proxy_pass http://localhost:8000;
|
proxy_pass http://localhost:8000;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Connection $http_connection;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "Upgrade";
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue