GZIP is not enabled :( - centos 7 nginx_apache

Thost

Verified User
Joined
Feb 17, 2016
Messages
10
hello ,
i installed new centos 7 directadmin nginx_apache.
and i cant find how to enable Gzip.

i run "apachectl -t -D DUMP_MODULES |grep deflate"
and i got deflate_module (static)

but when i check my site here http://checkgzipcompression.com/

i got GZIP is not enabled :(

how i can enable it to all my sites in this server ??

thanks.
 
Hello,

Gzipping is enabled by default when using nginx+apache.

Code:
# cat /etc/nginx/nginx-gzip.conf
gzip on;
gzip_static on;
gzip_disable "msie6";
gzip_http_version 1.1;
gzip_vary on;
gzip_comp_level 6;
gzip_proxied any;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript text/x-js;
gzip_buffers 16 8k;

What site do you check?
 
works great the site was no good :) thanks

works great the site was no good :) thanks
 
Back
Top