Fix typo in nginx config

This commit is contained in:
Fredrik Baberg 2022-07-11 14:19:46 +02:00
parent 99683a7bd4
commit f7600f84db
2 changed files with 3 additions and 3 deletions

View File

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

@ -4,11 +4,11 @@ server {
include /etc/nginx/includes/server_params.conf;
include /etc/nginx/includes/proxy_params.conf;
location {{ .ingress_entry }} {
location {{ .ingress_entry }}/ {
allow 172.30.32.2;
deny all;
proxy_pass http://backend;
proxy_set_header X-Script-Name {{ .ingress_entry }}
proxy_set_header X-Script-Name {{ .ingress_entry }};
}
}