Update ingress url

This commit is contained in:
Fredrik Baberg 2022-06-27 02:36:40 +02:00
parent 294cca47c6
commit 7f0f0ebc55
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#include <tunables/global>
profile example flags=(attach_disconnected,mediate_deleted) {
profile 3dprinter-octoprint flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/base>
# Capabilities

View File

@ -1,5 +1,5 @@
name: "3DPrinter-OctoPrint"
version: "2022.6.014"
version: "2022.6.015"
slug: "3dprinter-octoprint"
description: "New instance of OctoPrint"
url: "https://github.com/fredrikbaberg/home-assistant-addons/tree/main/3dprinter-octoprint"

View File

@ -7,7 +7,7 @@ server {
allow 172.30.32.2;
deny all;
location /{{ env "ingress_entry" }}/ {
location {{ env "ingress_entry" }}/ {
proxy_pass http://octoprint/; # make sure to add trailing slash here!
proxy_set_header Host $http_host;
proxy_set_header Upgrade $http_upgrade;
@ -15,7 +15,7 @@ server {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Script-Name /{{ env "ingress_entry" }};
proxy_set_header X-Script-Name {{ env "ingress_entry" }};
proxy_http_version 1.1;
client_max_body_size 0;