diff --git a/epaper-station/Dockerfile b/epaper-station/Dockerfile index 7977100..b67a9c2 100644 --- a/epaper-station/Dockerfile +++ b/epaper-station/Dockerfile @@ -1,9 +1,9 @@ ARG BUILD_FROM=ghcr.io/hassio-addons/base-python/amd64:9.0.1 FROM ${BUILD_FROM} -RUN apk add --no-cache nginx nginx-mod-http-lua +RUN apk add --no-cache nginx -ADD "https://github.com/jhbruhn/ZBS_Flasher/archive/refs/heads/rssi_fix.tar.gz" /src.tar.gz +ADD "https://github.com/jhbruhn/ZBS_Flasher/archive/refs/heads/case_insensitive_img.tar.gz" /src.tar.gz RUN mkdir /src && tar xvfz /src.tar.gz -C /src --strip-components=1 RUN mv /src/CC2531_station/epaper_station_websocket/ /app diff --git a/epaper-station/config.yaml b/epaper-station/config.yaml index b9dbd58..f95127a 100644 --- a/epaper-station/config.yaml +++ b/epaper-station/config.yaml @@ -1,6 +1,6 @@ --- name: E-Paper Station -version: 1.0.0.46 +version: 1.0.0.47 #image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch} slug: epaper-station description: Publish images to E-Paper pricetags diff --git a/epaper-station/rootfs/etc/nginx/nginx.conf b/epaper-station/rootfs/etc/nginx/nginx.conf index 26a3b90..0ed5901 100644 --- a/epaper-station/rootfs/etc/nginx/nginx.conf +++ b/epaper-station/rootfs/etc/nginx/nginx.conf @@ -22,12 +22,6 @@ http { allow 172.30.32.2; deny all; - set_by_lua $uri_lowercase "return string.lower(ngx.var.uri)"; - - location ~[A-Z] { - return 301 $scheme://$http_host$uri_lowercase$is_args$args; - } - location / { root /public; }