mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-09 23:40:59 +02:00
This commit is contained in:
@@ -111,5 +111,5 @@
|
|||||||
},
|
},
|
||||||
"slug": "whoogle-search",
|
"slug": "whoogle-search",
|
||||||
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/whoogle",
|
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/whoogle",
|
||||||
"version": "0.8.2-test4"
|
"version": "0.8.2-4"
|
||||||
}
|
}
|
||||||
@@ -9,12 +9,11 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
add_header Access-Control-Allow-Origin *;
|
add_header Access-Control-Allow-Origin *;
|
||||||
proxy_read_timeout 30;
|
proxy_read_timeout 30;
|
||||||
proxy_pass http://backend%%ingress_entry%%;
|
proxy_pass http://backend;
|
||||||
# Correct url for images
|
# Correct url for images
|
||||||
sub_filter_once off;
|
sub_filter_once off;
|
||||||
sub_filter_types *;
|
sub_filter_types *;
|
||||||
sub_filter %%ingress_entry_modified%%/ /;
|
sub_filter %%ingress_entry_modified%% %%ingress_entry%%;
|
||||||
sub_filter %%ingress_entry%%/ /;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,14 +10,13 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
add_header Access-Control-Allow-Origin *;
|
add_header Access-Control-Allow-Origin *;
|
||||||
proxy_read_timeout 30;
|
proxy_read_timeout 30;
|
||||||
proxy_pass http://backend%%ingress_entry%%;
|
proxy_pass http://backend;
|
||||||
#Allow frame
|
#Allow frame
|
||||||
proxy_hide_header 'x-frame-options';
|
proxy_hide_header 'x-frame-options';
|
||||||
# Correct url for images
|
# Correct url for images
|
||||||
sub_filter_once off;
|
sub_filter_once off;
|
||||||
sub_filter_types *;
|
sub_filter_types *;
|
||||||
sub_filter %%ingress_entry_modified%%/ /;
|
sub_filter %%ingress_entry_modified%% %%ingress_entry%%;
|
||||||
sub_filter %%ingress_entry%%/ / ;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user