mealie: fix recipe import by limiting nginx rewriting

This commit is contained in:
Alexandre
2025-08-05 08:07:23 +02:00
parent d4dac4559a
commit e73894690b
4 changed files with 7 additions and 3 deletions

View File

@@ -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";