SafeLine icon indicating copy to clipboard operation
SafeLine copied to clipboard

[建议] 疑似nginx的gzip未生效

Open qq8554650 opened this issue 1 year ago • 1 comments
trafficstars

背景与遇到的问题

Version 4.4.0。详见图 左边是原waf,右边为自建nginx代理并开了gzip ( gzip on; gzip_types text/plain application/javascript application/x-javascript text/javascript text/xml text/css;

) waf中虽有gzip,但似乎不生效 3b6c9d240cdda8194355b55e8a45f1f

建议的解决方案

No response

qq8554650 avatar Mar 08 '24 01:03 qq8554650

这个原因是:雷池默认开启了br压缩,在同时开启的情况下,nginx会默认使用br压缩,如果希望使用gzip,可以关闭br压缩

yrluke avatar Apr 01 '24 11:04 yrluke

问题建议反馈请移步 https://rivers.chaitin.cn/discussion

xbingW avatar Sep 19 '24 06:09 xbingW