Remove external_port argument
This commit is contained in:
parent
9f80b8afa5
commit
f0ba54db2d
@ -1,5 +1,5 @@
|
||||
name: "3DPrinter-OctoPrint"
|
||||
version: "2022.10.0"
|
||||
version: "2022.10.01"
|
||||
slug: "3dprinter-octoprint"
|
||||
description: "OctoPrint as an addon, no additional bells and whistles."
|
||||
url: "https://github.com/fredrikbaberg/home-assistant-addons/tree/main/3dprinter-octoprint"
|
||||
|
||||
@ -8,7 +8,6 @@
|
||||
bashio::var.json \
|
||||
interface "$(bashio::addon.ip_address)" \
|
||||
port "^$(bashio::addon.ingress_port)" \
|
||||
external_port "^$(bashio::addon.port 5000)" \
|
||||
ingress_entry "$(bashio::addon.ingress_entry)" \
|
||||
camera_host "$(bashio::config 'camera_url')" \
|
||||
| tempio \
|
||||
|
||||
@ -26,11 +26,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
{{ if .external_port }}
|
||||
# OctoPrint WebUI
|
||||
:5000 {
|
||||
reverse_proxy http://127.0.0.1:5000 {
|
||||
header_up X-Scheme {scheme}
|
||||
}
|
||||
# OctoPrint WebUI
|
||||
:5000 {
|
||||
reverse_proxy http://127.0.0.1:5000 {
|
||||
header_up X-Scheme {scheme}
|
||||
}
|
||||
{{ end }}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user