Change internal port to 80
This commit is contained in:
parent
f0ba54db2d
commit
92e83b7348
@ -1,5 +1,5 @@
|
||||
name: "3DPrinter-OctoPrint"
|
||||
version: "2022.10.01"
|
||||
version: "2022.10.02"
|
||||
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"
|
||||
|
||||
@ -7,4 +7,4 @@
|
||||
bashio::log.info "Starting OctoPrint..."
|
||||
|
||||
## Run your program
|
||||
exec octoprint serve --iknowwhatimdoing --host 127.0.0.1 --port 5000 --basedir /data/config/octoprint
|
||||
exec octoprint serve --iknowwhatimdoing --host 127.0.0.1 --port 80 --basedir /data/config/octoprint
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
# ==============================================================================
|
||||
|
||||
# Wait for web server to be available
|
||||
bashio::net.wait_for 5000
|
||||
bashio::net.wait_for 80
|
||||
|
||||
bashio::log.info "Starting proxy..."
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
{{ if .recovery }}
|
||||
rewrite / /recovery
|
||||
{{ end }}
|
||||
reverse_proxy @ingress 127.0.0.1:5000 {
|
||||
reverse_proxy @ingress 127.0.0.1:80 {
|
||||
header_up X-Script-Name {{ .ingress_entry }}
|
||||
header_up -Origin
|
||||
header_up Origin 172.30.32.2
|
||||
@ -28,7 +28,7 @@
|
||||
|
||||
# OctoPrint WebUI
|
||||
:5000 {
|
||||
reverse_proxy http://127.0.0.1:5000 {
|
||||
reverse_proxy http://127.0.0.1:80 {
|
||||
header_up X-Scheme {scheme}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user