mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-29 20:04:05 +02:00
fix(calibre): replace CWS port placeholder
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
## 8.8.0-4 (22-08-2025)
|
||||||
|
- Fix ingress config to replace CWS port placeholder
|
||||||
|
|
||||||
|
## 8.8.0-3 (22-08-2025)
|
||||||
|
- Switch desktop GUI to HTTPS for ingress
|
||||||
|
|
||||||
## 8.8.0-2 (12-08-2025)
|
## 8.8.0-2 (12-08-2025)
|
||||||
- Minor bugs fixed
|
- Minor bugs fixed
|
||||||
|
|
||||||
|
|||||||
@@ -78,6 +78,7 @@
|
|||||||
},
|
},
|
||||||
"image": "ghcr.io/alexbelgium/calibre-{arch}",
|
"image": "ghcr.io/alexbelgium/calibre-{arch}",
|
||||||
"ingress": true,
|
"ingress": true,
|
||||||
|
"ingress_port": 8181,
|
||||||
"init": false,
|
"init": false,
|
||||||
"map": [
|
"map": [
|
||||||
"media:rw",
|
"media:rw",
|
||||||
@@ -94,15 +95,13 @@
|
|||||||
"panel_admin": false,
|
"panel_admin": false,
|
||||||
"panel_icon": "mdi:book-multiple",
|
"panel_icon": "mdi:book-multiple",
|
||||||
"ports": {
|
"ports": {
|
||||||
"8080/tcp": 8080,
|
"8181/tcp": 8181,
|
||||||
"8081/tcp": 8081,
|
"8081/tcp": 8081,
|
||||||
"8181/tcp": null,
|
|
||||||
"9090/tcp": 9090
|
"9090/tcp": 9090
|
||||||
},
|
},
|
||||||
"ports_description": {
|
"ports_description": {
|
||||||
"8080/tcp": "Calibre desktop gui",
|
"8181/tcp": "Calibre desktop gui (https)",
|
||||||
"8081/tcp": "Calibre webserver gui, to be enabled within the desktop gui",
|
"8081/tcp": "Calibre webserver gui, to be enabled within the desktop gui",
|
||||||
"8181/tcp": "Calibre https webserver gui, to be enabled within the desktop gui",
|
|
||||||
"9090/tcp": "Calibre wireless connection, to be enabled within the desktop gui"
|
"9090/tcp": "Calibre wireless connection, to be enabled within the desktop gui"
|
||||||
},
|
},
|
||||||
"privileged": [
|
"privileged": [
|
||||||
@@ -125,6 +124,6 @@
|
|||||||
"slug": "calibre",
|
"slug": "calibre",
|
||||||
"udev": true,
|
"udev": true,
|
||||||
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/calibre",
|
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/calibre",
|
||||||
"version": "8.8.0-2",
|
"version": "8.8.0-4",
|
||||||
"video": true
|
"video": true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,9 @@ mv tmpfile "${NGINX_CONFIG}"
|
|||||||
# Remove ipv6
|
# Remove ipv6
|
||||||
sed -i '/listen \[::\]/d' "${NGINX_CONFIG}"
|
sed -i '/listen \[::\]/d' "${NGINX_CONFIG}"
|
||||||
# Add ingress parameters
|
# 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}"
|
sed -i '/proxy_buffering/a proxy_set_header Accept-Encoding "";' "${NGINX_CONFIG}"
|
||||||
sed -i '/proxy_buffering/a sub_filter_once off;' "${NGINX_CONFIG}"
|
sed -i '/proxy_buffering/a sub_filter_once off;' "${NGINX_CONFIG}"
|
||||||
sed -i '/proxy_buffering/a sub_filter_types *;' "${NGINX_CONFIG}"
|
sed -i '/proxy_buffering/a sub_filter_types *;' "${NGINX_CONFIG}"
|
||||||
|
|||||||
Reference in New Issue
Block a user