mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
This commit is contained in:
@@ -111,5 +111,5 @@
|
||||
},
|
||||
"slug": "whoogle-search",
|
||||
"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 / {
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
proxy_read_timeout 30;
|
||||
proxy_pass http://backend%%ingress_entry%%;
|
||||
proxy_pass http://backend;
|
||||
# Correct url for images
|
||||
sub_filter_once off;
|
||||
sub_filter_types *;
|
||||
sub_filter %%ingress_entry_modified%%/ /;
|
||||
sub_filter %%ingress_entry%%/ /;
|
||||
sub_filter %%ingress_entry_modified%% %%ingress_entry%%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -10,14 +10,13 @@ server {
|
||||
location / {
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
proxy_read_timeout 30;
|
||||
proxy_pass http://backend%%ingress_entry%%;
|
||||
proxy_pass http://backend;
|
||||
#Allow frame
|
||||
proxy_hide_header 'x-frame-options';
|
||||
# Correct url for images
|
||||
sub_filter_once off;
|
||||
sub_filter_types *;
|
||||
sub_filter %%ingress_entry_modified%%/ /;
|
||||
sub_filter %%ingress_entry%%/ / ;
|
||||
sub_filter %%ingress_entry_modified%% %%ingress_entry%%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user