mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
correct ingress
This commit is contained in:
@@ -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]"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user