diff --git a/3dprinter-octoprint/CHANGELOG.md b/3dprinter-octoprint/CHANGELOG.md index 95fb1e4..b8841e8 100644 --- a/3dprinter-octoprint/CHANGELOG.md +++ b/3dprinter-octoprint/CHANGELOG.md @@ -1,2 +1,4 @@ +- Update icon to colored nozzle. +- Cleanup Caddy config. - Fixes to Caddy XDG paths - Change reverse proxy from nginx to Caddy \ No newline at end of file diff --git a/3dprinter-octoprint/config.yaml b/3dprinter-octoprint/config.yaml index c4abace..0237e28 100644 --- a/3dprinter-octoprint/config.yaml +++ b/3dprinter-octoprint/config.yaml @@ -1,5 +1,5 @@ name: "3DPrinter-OctoPrint" -version: "2022.9.030" +version: "2022.9.031" slug: "3dprinter-octoprint" description: "OctoPrint as an addon, no additional bells and whistles." url: "https://github.com/fredrikbaberg/home-assistant-addons/tree/main/3dprinter-octoprint" @@ -26,9 +26,9 @@ ports_description: options: camera_url: "http://b7aa59c4-camera-mjpg-streamer/" recovery: false - ssl_fix: false + sslFix: false schema: camera_url: "url?" recovery: "bool" - ssl_fix: "bool?" + sslFix: "bool?" tmpfs: true diff --git a/3dprinter-octoprint/icon.png b/3dprinter-octoprint/icon.png index 9222efd..537eaa5 100644 Binary files a/3dprinter-octoprint/icon.png and b/3dprinter-octoprint/icon.png differ diff --git a/3dprinter-octoprint/rootfs/usr/share/tempio/Caddyfile.ingress.gtpl b/3dprinter-octoprint/rootfs/usr/share/tempio/Caddyfile.ingress.gtpl index 0410c74..b593543 100644 --- a/3dprinter-octoprint/rootfs/usr/share/tempio/Caddyfile.ingress.gtpl +++ b/3dprinter-octoprint/rootfs/usr/share/tempio/Caddyfile.ingress.gtpl @@ -2,15 +2,11 @@ @ingress { remote_ip 172.30.32.2 } + uri strip_prefix {{ .ingress_entry }} handle { - uri strip_prefix {{ .ingress_entry }} reverse_proxy @ingress 127.0.0.1:5000 { - header_up X-Script-Name {{ .ingress_entry }} - header_up -Origin - header_up Origin 172.30.32.2 - header_up X-Forwarded-For 172.30.32.2 + header_up X-Script-Name {{ .ingress_entry }}/ header_up X-Scheme {scheme} - flush_interval -1 } } }