Cleanup webcam config

This commit is contained in:
Fredrik Baberg 2022-07-12 01:36:07 +02:00
parent d65522a094
commit b4da47bf41
2 changed files with 1 additions and 10 deletions

View File

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

@ -26,14 +26,5 @@ server {
location /webcam/ {
proxy_pass {{ .camera_host }};
proxy_set_header Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
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 {{ .ingress_entry }}/webcam;
proxy_http_version 1.1;
client_max_body_size 0;
}
}