Correction to name of option trusted_proxies
This commit is contained in:
parent
15cfbac509
commit
10acc9fd9e
@ -1,3 +1,6 @@
|
|||||||
|
- 2022.12.04
|
||||||
|
- Correction to name of option (trusted_proxies).
|
||||||
|
|
||||||
- 2022.12.03
|
- 2022.12.03
|
||||||
- Add option for trusted proxies.
|
- Add option for trusted proxies.
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
name: "3DPrinter-OctoPrint"
|
name: "3DPrinter-OctoPrint"
|
||||||
version: "2022.12.03"
|
version: "2022.12.04"
|
||||||
slug: "3dprinter-octoprint"
|
slug: "3dprinter-octoprint"
|
||||||
description: "OctoPrint as an addon, no additional bells and whistles."
|
description: "OctoPrint as an addon, no additional bells and whistles."
|
||||||
url: "https://github.com/fredrikbaberg/home-assistant-addons/tree/main/3dprinter-octoprint"
|
url: "https://github.com/fredrikbaberg/home-assistant-addons/tree/main/3dprinter-octoprint"
|
||||||
@ -26,10 +26,10 @@ ports_description:
|
|||||||
options:
|
options:
|
||||||
camera_url: "http://b7aa59c4-camera-mjpg-streamer"
|
camera_url: "http://b7aa59c4-camera-mjpg-streamer"
|
||||||
mode: normal
|
mode: normal
|
||||||
reverse_proxy: ""
|
trusted_proxies: ""
|
||||||
schema:
|
schema:
|
||||||
camera_url: "url?"
|
camera_url: "url?"
|
||||||
mode: "list(normal|recovery|reverse_proxy_test|camera)?"
|
mode: "list(normal|recovery|reverse_proxy_test|camera)?"
|
||||||
reverse_proxy: "str?"
|
trusted_proxies: "str?"
|
||||||
tmpfs: true
|
tmpfs: true
|
||||||
image: ghcr.io/fredrikbaberg/addon-3dprinter-octoprint-{arch}
|
image: ghcr.io/fredrikbaberg/addon-3dprinter-octoprint-{arch}
|
||||||
|
|||||||
@ -11,7 +11,7 @@ bashio::var.json \
|
|||||||
ingress_entry "$(bashio::addon.ingress_entry)" \
|
ingress_entry "$(bashio::addon.ingress_entry)" \
|
||||||
camera_host "$(bashio::config 'camera_url')" \
|
camera_host "$(bashio::config 'camera_url')" \
|
||||||
mode "$(bashio::config 'mode')" \
|
mode "$(bashio::config 'mode')" \
|
||||||
reverse_proxy "$(bashio::config 'reverse_proxy')" \
|
trusted_proxies "$(bashio::config 'trusted_proxies')" \
|
||||||
| tempio \
|
| tempio \
|
||||||
-template /usr/share/tempio/caddy/Caddyfile.gtpl \
|
-template /usr/share/tempio/caddy/Caddyfile.gtpl \
|
||||||
-out /etc/caddy/Caddyfile
|
-out /etc/caddy/Caddyfile
|
||||||
|
|||||||
@ -42,7 +42,7 @@
|
|||||||
:5000 {
|
:5000 {
|
||||||
reverse_proxy http://127.0.0.1:80 {
|
reverse_proxy http://127.0.0.1:80 {
|
||||||
{{ if .trusted_proxies }}
|
{{ if .trusted_proxies }}
|
||||||
trusted_proxies {{ .trusted_proxies }}
|
trusted_proxies "{{ .trusted_proxies }}"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user