Update config
This commit is contained in:
parent
33009ca2b9
commit
e802113c58
@ -9,4 +9,4 @@ labels:
|
|||||||
org.opencontainers.image.description: "3DPrinter-OctoPrint addon for Home-Assistant."
|
org.opencontainers.image.description: "3DPrinter-OctoPrint addon for Home-Assistant."
|
||||||
org.opencontainers.image.source: "https://github.com/fredrikbaberg/3dprinter-addons"
|
org.opencontainers.image.source: "https://github.com/fredrikbaberg/3dprinter-addons"
|
||||||
args:
|
args:
|
||||||
OCTOPRINT_VERSION: "1.8.3"
|
OCTOPRINT_VERSION: "1.8.4"
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
name: "3DPrinter-OctoPrint"
|
name: "3DPrinter-OctoPrint"
|
||||||
version: "2022.9.014"
|
version: "2022.9.015"
|
||||||
slug: "3dprinter-octoprint"
|
slug: "3dprinter-octoprint"
|
||||||
description: "OctoPrint as an addon, no additional bells and whistles."
|
description: "OctoPrint as an addon, no additional bells and whistles."
|
||||||
url: "https://github.com/fredrikbaberg/home-assistant-addons/tree/main/3dprinter-octoprint"
|
url: "https://github.com/fredrikbaberg/home-assistant-addons/tree/main/3dprinter-octoprint"
|
||||||
@ -27,7 +27,7 @@ options:
|
|||||||
camera_url: "http://b7aa59c4-camera-mjpg-streamer/"
|
camera_url: "http://b7aa59c4-camera-mjpg-streamer/"
|
||||||
recovery: false
|
recovery: false
|
||||||
schema:
|
schema:
|
||||||
camera_url: "url"
|
camera_url: "url?"
|
||||||
recovery: "bool"
|
recovery: "bool"
|
||||||
image: ghcr.io/fredrikbaberg/addon-3dprinter-octoprint-{arch}
|
image: ghcr.io/fredrikbaberg/addon-3dprinter-octoprint-{arch}
|
||||||
tmpfs: true
|
tmpfs: true
|
||||||
|
|||||||
@ -7,11 +7,11 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
proxy_pass http://octoprint/;
|
proxy_pass http://octoprint/;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
# proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
# proxy_set_header Connection "upgrade";
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
# proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Scheme $scheme;
|
# proxy_set_header X-Scheme $scheme;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|
||||||
client_max_body_size 0;
|
client_max_body_size 0;
|
||||||
|
|||||||
@ -7,10 +7,12 @@ server {
|
|||||||
deny all;
|
deny all;
|
||||||
|
|
||||||
proxy_pass http://octoprint/;
|
proxy_pass http://octoprint/;
|
||||||
proxy_set_header Host $http_host;
|
proxy_pass_request_headers on;
|
||||||
|
proxy_set_header Host $host;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For 172.30.32.2;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Host $http_host;
|
proxy_set_header X-Forwarded-Host $http_host;
|
||||||
proxy_set_header X-Scheme $scheme;
|
proxy_set_header X-Scheme $scheme;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user