Update ingress url
This commit is contained in:
parent
294cca47c6
commit
7f0f0ebc55
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user