This commit is contained in:
Jan-Henrik 2023-02-10 16:48:16 +01:00
parent ca5b164d73
commit 77723306d0
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
---
name: E-Paper Station
version: 1.0.0.44
version: 1.0.0.45
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
slug: epaper-station
description: Publish images to E-Paper pricetags

View file

@ -26,9 +26,9 @@ http {
root /public;
}
location ^~ /input_img/(?<endpath>.*) {
set_by_lua $endpath 'return string.lower(ngx.var.endpath)'
proxy_pass http://localhost:8080/$endpath;
location /input_img {
set_by_lua $endpath 'return ngx.arg[1]:lower()' $request_uri;
proxy_pass http://localhost:8080$endpath;
}
location /ws {