Update to v0.2.4
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
## v0.2.4
|
||||||
|
- Add originRequest support for disableChunkedEncoding flag for additional_hosts
|
||||||
|
- Change hassio_role from admin to manager
|
||||||
|
- Improve Documentation
|
||||||
|
|
||||||
## v0.2.3
|
## v0.2.3
|
||||||
- Changed Cloudflared config datatype to JSON
|
- Changed Cloudflared config datatype to JSON
|
||||||
- Enable additional_hosts via https
|
- Enable additional_hosts via https
|
||||||
|
|||||||
+16
-4
@@ -64,10 +64,13 @@ Example extended add-on configuration:
|
|||||||
external_hostname: "ha.example.com"
|
external_hostname: "ha.example.com"
|
||||||
tunnel_name: "homeassistant"
|
tunnel_name: "homeassistant"
|
||||||
additional_hosts:
|
additional_hosts:
|
||||||
|
- hostname: "router.example.com"
|
||||||
|
service: "http://192.168.1.1"
|
||||||
- hostname: "diskstation.example.com"
|
- hostname: "diskstation.example.com"
|
||||||
service: "http://192.168.1.5"
|
service: "https://192.168.1.2:5001"
|
||||||
- hostname: "website.example.com"
|
- hostname: "website.example.com"
|
||||||
service: "http://192.168.1.2"
|
service: "http://192.168.1.3:8080"
|
||||||
|
disableChunkedEncoding: true
|
||||||
nginxproxymanager: true
|
nginxproxymanager: true
|
||||||
log_level: "debug"
|
log_level: "debug"
|
||||||
```
|
```
|
||||||
@@ -99,14 +102,22 @@ other systems like a diskstation, router or anything else.
|
|||||||
Like with the `external_hostname` of HomeAssistant, DNS entries at will be
|
Like with the `external_hostname` of HomeAssistant, DNS entries at will be
|
||||||
automatically created at Cloudflare.
|
automatically created at Cloudflare.
|
||||||
|
|
||||||
|
Add the (optional) `disableChunkedEncoding` option to a hostname, to disable
|
||||||
|
chunked transfer encoding. This is useful if you are running a WSGI server,
|
||||||
|
like Proxmox for example. Visit [Cloudflare Docs][disablechunkedencoding] for
|
||||||
|
further information.
|
||||||
|
|
||||||
Please find below an examplary entry for two additional hosts:
|
Please find below an examplary entry for two additional hosts:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
additional_hosts:
|
additional_hosts:
|
||||||
- hostname: "diskstation.example.com"
|
|
||||||
service: "http://192.168.1.2"
|
|
||||||
- hostname: "router.example.com"
|
- hostname: "router.example.com"
|
||||||
service: "http://192.168.1.1"
|
service: "http://192.168.1.1"
|
||||||
|
- hostname: "diskstation.example.com"
|
||||||
|
service: "https://192.168.1.2:5001"
|
||||||
|
- hostname: "website.example.com"
|
||||||
|
service: "http://192.168.1.3:8080"
|
||||||
|
disableChunkedEncoding: true
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note**: _If you delete a hostname from the list, it will not be served
|
**Note**: _If you delete a hostname from the list, it will not be served
|
||||||
@@ -222,3 +233,4 @@ SOFTWARE.
|
|||||||
[freenom]: https://freenom.com
|
[freenom]: https://freenom.com
|
||||||
[nginxproxymanager]: https://github.com/hassio-addons/addon-nginx-proxy-manager
|
[nginxproxymanager]: https://github.com/hassio-addons/addon-nginx-proxy-manager
|
||||||
[tobias]: https://github.com/brenner-tobias
|
[tobias]: https://github.com/brenner-tobias
|
||||||
|
[disablechunkedencoding]: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/configuration/configuration-file/ingress#disablechunkedencoding
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: Cloudflared
|
name: Cloudflared
|
||||||
version: 0.2.3
|
version: 0.2.4
|
||||||
slug: cloudflared
|
slug: cloudflared
|
||||||
description: >
|
description: >
|
||||||
Use a Cloudflared tunnel (formerly Argo Tunnel)
|
Use a Cloudflared tunnel (formerly Argo Tunnel)
|
||||||
@@ -9,7 +9,7 @@ url: "https://github.com/brenner-tobias/addon-cloudflared/"
|
|||||||
image: ghcr.io/brenner-tobias/cloudflared/{arch}
|
image: ghcr.io/brenner-tobias/cloudflared/{arch}
|
||||||
init: false
|
init: false
|
||||||
hassio_api: true
|
hassio_api: true
|
||||||
hassio_role: admin
|
hassio_role: manager
|
||||||
arch:
|
arch:
|
||||||
- aarch64
|
- aarch64
|
||||||
- amd64
|
- amd64
|
||||||
@@ -26,6 +26,7 @@ schema:
|
|||||||
additional_hosts:
|
additional_hosts:
|
||||||
- hostname: str
|
- hostname: str
|
||||||
service: str
|
service: str
|
||||||
|
disableChunkedEncoding: bool?
|
||||||
nginxproxymanager: bool?
|
nginxproxymanager: bool?
|
||||||
log_level: list(trace|debug|info|notice|warning|error|fatal)?
|
log_level: list(trace|debug|info|notice|warning|error|fatal)?
|
||||||
reset_cloudflared_files: bool?
|
reset_cloudflared_files: bool?
|
||||||
|
|||||||
Reference in New Issue
Block a user