Update to v0.2.4

This commit is contained in:
Tobias Brenner
2022-01-22 09:36:22 +01:00
parent 100c9d1cb1
commit 3b4b11b983
3 changed files with 24 additions and 6 deletions
+5
View File
@@ -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
- Changed Cloudflared config datatype to JSON
- Enable additional_hosts via https
+16 -4
View File
@@ -64,10 +64,13 @@ Example extended add-on configuration:
external_hostname: "ha.example.com"
tunnel_name: "homeassistant"
additional_hosts:
- hostname: "router.example.com"
service: "http://192.168.1.1"
- hostname: "diskstation.example.com"
service: "http://192.168.1.5"
service: "https://192.168.1.2:5001"
- hostname: "website.example.com"
service: "http://192.168.1.2"
service: "http://192.168.1.3:8080"
disableChunkedEncoding: true
nginxproxymanager: true
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
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:
```yaml
additional_hosts:
- hostname: "diskstation.example.com"
service: "http://192.168.1.2"
- hostname: "router.example.com"
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
@@ -222,3 +233,4 @@ SOFTWARE.
[freenom]: https://freenom.com
[nginxproxymanager]: https://github.com/hassio-addons/addon-nginx-proxy-manager
[tobias]: https://github.com/brenner-tobias
[disablechunkedencoding]: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/configuration/configuration-file/ingress#disablechunkedencoding
+3 -2
View File
@@ -1,6 +1,6 @@
---
name: Cloudflared
version: 0.2.3
version: 0.2.4
slug: cloudflared
description: >
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}
init: false
hassio_api: true
hassio_role: admin
hassio_role: manager
arch:
- aarch64
- amd64
@@ -26,6 +26,7 @@ schema:
additional_hosts:
- hostname: str
service: str
disableChunkedEncoding: bool?
nginxproxymanager: bool?
log_level: list(trace|debug|info|notice|warning|error|fatal)?
reset_cloudflared_files: bool?