diff --git a/calibre/CHANGELOG.md b/calibre/CHANGELOG.md index 49c8d7ea4..d525f23c4 100644 --- a/calibre/CHANGELOG.md +++ b/calibre/CHANGELOG.md @@ -1,3 +1,6 @@ +## 8.8.0-4 (22-08-2025) +- Fix ingress config to replace CWS port plac + ## 8.8.0-3 (22-08-2025) - Switch desktop GUI to HTTPS for ingress diff --git a/calibre/config.json b/calibre/config.json index 8525e9b67..1ffacec6e 100644 --- a/calibre/config.json +++ b/calibre/config.json @@ -124,6 +124,6 @@ "slug": "calibre", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons/tree/master/calibre", - "version": "8.8.0-3", + "version": "8.8.0-4", "video": true } diff --git a/calibre/rootfs/etc/cont-init.d/90-ingress.sh b/calibre/rootfs/etc/cont-init.d/90-ingress.sh index cff8c0431..3eb3b932b 100755 --- a/calibre/rootfs/etc/cont-init.d/90-ingress.sh +++ b/calibre/rootfs/etc/cont-init.d/90-ingress.sh @@ -15,7 +15,7 @@ mv tmpfile "${NGINX_CONFIG}" # Remove ipv6 sed -i '/listen \[::\]/d' "${NGINX_CONFIG}" # Add ingress parameters -sed -i "s|3000|$(bashio::addon.ingress_port)|g" "${NGINX_CONFIG}" +sed -i "s|CWS|$(bashio::addon.ingress_port)|g" "${NGINX_CONFIG}" sed -i 's|proxy_pass http://|proxy_pass https://|g' "${NGINX_CONFIG}" sed -i '/proxy_pass/a proxy_ssl_verify off;' "${NGINX_CONFIG}" sed -i '/proxy_buffering/a proxy_set_header Accept-Encoding "";' "${NGINX_CONFIG}"