attempt to bypass https issue
This commit is contained in:
parent
a6f65d33e3
commit
2b4c5c97c7
@ -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"
|
||||
|
||||
@ -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 *;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user