From f868af8a6a44a94aa51803b384d35f4a80eef902 Mon Sep 17 00:00:00 2001 From: Jan-Henrik Bruhn Date: Fri, 10 Feb 2023 16:59:29 +0100 Subject: [PATCH] switch to branch --- epaper-station/Dockerfile | 4 ++-- epaper-station/config.yaml | 2 +- epaper-station/rootfs/etc/nginx/nginx.conf | 6 ------ 3 files changed, 3 insertions(+), 9 deletions(-) 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; }