Allow Caddy trusted ranges
This commit is contained in:
parent
a9259cb33b
commit
86c0476b84
@ -1,6 +1,6 @@
|
||||
- 2022.12.01
|
||||
- Use separate templates for Caddy Ingress/direct config.
|
||||
- Add mode for camera (for testing).
|
||||
- Set Caddy to trust private ranges on Ingress entry.
|
||||
|
||||
- 2022.11.01
|
||||
- Add reverse proxy config for camera with Ingress (untested).
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
name: "3DPrinter-OctoPrint"
|
||||
version: "2022.12.02"
|
||||
version: "2022.12.03"
|
||||
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"
|
||||
|
||||
@ -27,11 +27,12 @@
|
||||
{{ end }}
|
||||
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
|
||||
header_up X-Forwarded-For 172.30.32.2
|
||||
header_up X-Scheme {scheme}
|
||||
flush_interval -1
|
||||
trusted_proxies private_ranges
|
||||
# header_up -Origin
|
||||
# header_up Origin 172.30.32.2
|
||||
# header_up X-Forwarded-For 172.30.32.2
|
||||
# header_up X-Scheme {scheme}
|
||||
# flush_interval -1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user