From 0ca75b98ca62f66ded416e3fa24488a7e93c5b87 Mon Sep 17 00:00:00 2001 From: tieniber Date: Thu, 13 Mar 2025 14:01:37 -0400 Subject: [PATCH] Update nginx.conf.j2 A customer noted that the sqlite wasm file used for PWAs is not gzipped. Add application/wasm to gzip_types in nginx.conf.j2 --- etc/nginx/conf/nginx.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/nginx/conf/nginx.conf.j2 b/etc/nginx/conf/nginx.conf.j2 index 04167e1db..64551b1fb 100644 --- a/etc/nginx/conf/nginx.conf.j2 +++ b/etc/nginx/conf/nginx.conf.j2 @@ -37,7 +37,7 @@ http { gzip_min_length 1100; gzip_buffers 16 8k; gzip_proxied any; - gzip_types text/plain text/css text/js text/xml text/javascript application/javascript application/x-javascript application/json application/xml application/xml+rss; + gzip_types text/plain text/css text/js text/xml text/javascript application/javascript application/x-javascript application/json application/xml application/xml+rss application/wasm; tcp_nopush on; keepalive_timeout {{ nginx_keepalive_timeout }};