mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 13:24:04 +02:00
mealie: fix recipe import by limiting nginx rewriting
This commit is contained in:
@@ -31,7 +31,8 @@
|
||||
absolute_redirect off;
|
||||
proxy_redirect / %%ingress_entry%%/;
|
||||
sub_filter_once off;
|
||||
sub_filter_types *;
|
||||
# Limit rewriting to text-based responses to avoid corrupting JSON payloads
|
||||
sub_filter_types text/html text/css application/javascript;
|
||||
sub_filter '"/api' '"%%ingress_entry%%/api';
|
||||
sub_filter '`/api' '`%%ingress_entry%%/api';
|
||||
sub_filter "'/api" "'%%ingress_entry%%/api";
|
||||
|
||||
Reference in New Issue
Block a user