From 32acc9886feaac41845bdcfbea8d756945006b25 Mon Sep 17 00:00:00 2001 From: SysAdmin Agent Date: Fri, 3 Apr 2026 23:02:47 +0000 Subject: [PATCH] Fix nginx: remove redundant text/html from sub_filter_types (STI-102) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nginx includes text/html by default for sub_filter — adding it explicitly causes a duplicate MIME type warning on reload. Co-Authored-By: Paperclip --- deploy-production/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-production/nginx.conf b/deploy-production/nginx.conf index cbc29fc..6c4c1f6 100644 --- a/deploy-production/nginx.conf +++ b/deploy-production/nginx.conf @@ -99,7 +99,7 @@ server { proxy_set_header Accept-Encoding ""; # Apply sub_filter to HTML, JS, and CSS responses - sub_filter_types text/html application/javascript text/css; + sub_filter_types application/javascript text/css; sub_filter_once off; # HTML: set so the SPA router knows its prefix