attempt to bypass https issue

This commit is contained in:
Fredrik Baberg 2022-07-11 18:05:58 +02:00
parent a6f65d33e3
commit 2b4c5c97c7
2 changed files with 6 additions and 3 deletions

View File

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

@ -1,8 +1,8 @@
server {
listen {{ .interface }}:{{ .port }} default_server;
include /etc/nginx/includes/server_params.conf;
include /etc/nginx/includes/proxy_params.conf;
# include /etc/nginx/includes/server_params.conf;
# include /etc/nginx/includes/proxy_params.conf;
location / {
allow 172.30.32.2;
@ -22,5 +22,8 @@ server {
proxy_set_header X-Forwarded-For 172.30.32.2;
add_header Origin 172.30.32.2;
# Required when mixing http and https?
add_header Access-Control-Allow-Origin *;
}
}