websocket stuff

This commit is contained in:
Jan-Henrik 2023-02-07 19:49:13 +01:00
parent bfd42f2a10
commit f785fe8480
2 changed files with 2 additions and 8 deletions

View file

@ -1,6 +1,6 @@
---
name: EPaper Station
version: 1.0.0.39
version: 1.0.0.40
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
slug: epaper-station
description: Publish Pictures to EPaper pricetags

View file

@ -10,11 +10,6 @@ http {
charset utf-8;
# access_log /dev/stdout;
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
server {
server_name localhost;
listen 8099;
@ -32,9 +27,8 @@ http {
location /ws {
proxy_pass http://localhost:8000;
proxy_http_version 1.1;
proxy_set_header Connection $http_connection;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
}
}