Gzip is not working for JS and CSS

Gzip is not working for javascript and CSS. It is showing that Gzip is not working properly:

- Your server may not have the "deflate" module enabled (mod_deflate for Apache, ngx_http_gzip_module for NGINX).
- Contact your host. If deflate is enabled, ask why all .htaccess or nginx.conf compression rules are not being applied.

If re-checking and restarting does not resolve, please check with your host or open a support ticket with us.

But it is on. Please help.