correct ingress

This commit is contained in:
Alexandre
2022-03-18 10:09:10 +01:00
parent 1b67e6963b
commit 5a568208cd
2 changed files with 1 additions and 6 deletions

View File

@@ -88,7 +88,7 @@
"startup": "services", "startup": "services",
"upstream": "10.7.7-1-ls155", "upstream": "10.7.7-1-ls155",
"url": "https://github.com/alexbelgium/hassio-addons", "url": "https://github.com/alexbelgium/hassio-addons",
"version": "10.7.7-1-ls155-ingress", "version": "10.7.7-1-ls155-ingress2",
"video": true, "video": true,
"webui": "http://[HOST]:[PORT:8096]" "webui": "http://[HOST]:[PORT:8096]"
} }

View File

@@ -12,11 +12,6 @@ server {
add_header X-XSS-Protection "1; mode=block"; add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff"; add_header X-Content-Type-Options "nosniff";
location = / {
return 302 http://$host/web/;
#return 302 https://$host/web/;
}
location /web/ { location /web/ {
add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Origin *;
proxy_pass http://127.0.0.1:8096/web/index.html; proxy_pass http://127.0.0.1:8096/web/index.html;