mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-19 13:59:15 +02:00
Improve ingress with new /api path
https://github.com/alexbelgium/hassio-addons/issues/1948#issuecomment-3073110217
This commit is contained in:
@@ -32,10 +32,10 @@
|
|||||||
proxy_redirect / %%ingress_entry%%/;
|
proxy_redirect / %%ingress_entry%%/;
|
||||||
sub_filter_once off;
|
sub_filter_once off;
|
||||||
sub_filter_types *;
|
sub_filter_types *;
|
||||||
|
sub_filter '"/api' '"%%ingress_entry%%/api';
|
||||||
sub_filter %%base_subpath%% %%ingress_entry%%/;
|
sub_filter %%base_subpath%% %%ingress_entry%%/;
|
||||||
sub_filter 'href="/"' 'href="%%ingress_entry%%/"';
|
sub_filter 'href="/"' 'href="%%ingress_entry%%/"';
|
||||||
sub_filter '"\/"' '"%%ingress_entry%%\/"';
|
sub_filter '"\/"' '"%%ingress_entry%%\/"';
|
||||||
sub_filter '"/api/app' '"%%ingress_entry%%/api/app';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user