Attempt to update proxy
This commit is contained in:
parent
c23bd3726b
commit
ce823c0467
@ -1,6 +1,6 @@
|
||||
ARG BUILD_FROM="ghcr.io/home-assistant/amd64-base-debian:bullseye"
|
||||
FROM ${BUILD_FROM}
|
||||
ARG OCTOPRINT_VERSION="1.8.1"
|
||||
ARG OCTOPRINT_VERSION="1.8.3"
|
||||
|
||||
ENV OCTOPRINT_VERSION=${OCTOPRINT_VERSION}
|
||||
|
||||
|
||||
@ -5,8 +5,8 @@ build_from:
|
||||
armv7: ghcr.io/home-assistant/armv7-base-debian:bullseye
|
||||
i386: ghcr.io/home-assistant/i386-base-debian:bullseye
|
||||
labels:
|
||||
org.opencontainers.image.title: "Home Assistant Add-on: 3DPrinter-OctoPrint add-on"
|
||||
org.opencontainers.image.title: "Home Assistant Add-on: 3DPrinter-OctoPrint"
|
||||
org.opencontainers.image.description: "3DPrinter-OctoPrint addon for Home-Assistant."
|
||||
org.opencontainers.image.source: "https://github.com/fredrikbaberg/home-assistant-addons"
|
||||
org.opencontainers.image.source: "https://github.com/fredrikbaberg/3dprinter-addons"
|
||||
args:
|
||||
OCTOPRINT_VERSION: "1.8.1"
|
||||
OCTOPRINT_VERSION: "1.8.3"
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
name: "3DPrinter-OctoPrint"
|
||||
version: "2022.7.025"
|
||||
version: "2022.9.001"
|
||||
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"
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 74 KiB |
@ -4,13 +4,10 @@ server {
|
||||
include /etc/nginx/includes/server_params.conf;
|
||||
include /etc/nginx/includes/proxy_params.conf;
|
||||
|
||||
location / {
|
||||
location {{ .ingress_entry }} {
|
||||
allow 172.30.32.2;
|
||||
deny all;
|
||||
|
||||
proxy_set_header X-Forwarded-For 172.30.32.2;
|
||||
proxy_set_header Origin 172.30.32.2;
|
||||
|
||||
proxy_pass http://octoprint/; # make sure to add trailing slash here!
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
@ -20,8 +17,13 @@ server {
|
||||
proxy_set_header X-Scheme $scheme;
|
||||
proxy_set_header X-Script-Name {{ .ingress_entry }};
|
||||
proxy_http_version 1.1;
|
||||
|
||||
client_max_body_size 0;
|
||||
|
||||
proxy_set_header X-Forwarded-Scheme $scheme;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
||||
# proxy_set_header X-Forwarded-For 172.30.32.2;
|
||||
# proxy_set_header Origin 172.30.32.2;
|
||||
}
|
||||
|
||||
location /webcam/ {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user