Add X-Forward-For

This commit is contained in:
Fredrik Baberg 2022-07-11 17:08:33 +02:00
parent cc65035aeb
commit 5c11796c88
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
name: "3DPrinter-OctoPrint"
version: "2022.7.007"
version: "2022.7.008"
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"

View File

@ -10,5 +10,6 @@ server {
proxy_pass http://backend;
proxy_set_header X-Script-Name {{ .ingress_entry }};
add_header X-Forwarded-For 172.30.32.2
}
}