Apache series (domain name fraud prevention)
Remove the # in front of LoadModule deflate_module modules/mod_deflate.so.
Add at the end of the main conf (usually starting globally. If you need to configure according to the domain name, you need to configure it in the conf of the virtual domain name):
DeflateCompressionLevel 9
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript