diff --git a/epaper-station/config.yaml b/epaper-station/config.yaml index 36354e7..b7cd1b4 100644 --- a/epaper-station/config.yaml +++ b/epaper-station/config.yaml @@ -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 diff --git a/epaper-station/rootfs/etc/nginx/nginx.conf b/epaper-station/rootfs/etc/nginx/nginx.conf index be55051..7273e58 100644 --- a/epaper-station/rootfs/etc/nginx/nginx.conf +++ b/epaper-station/rootfs/etc/nginx/nginx.conf @@ -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; } }