If you do not know anything about setting up a web server, I assume that you also do not know how and where to edit the configuration file.
The nginx /etc/nginx/nginx.conf file is located in /etc/nginx/nginx.conf (checked in Ubuntu 12.04)
By default, the nginx gzip module is enabled. Therefore, check this service, whether it is enabled on with an online tool like this .
If it is disabled, add this before the server name {...} in nginx.conf
# output compression saves bandwidth gzip on; gzip_http_version 1.1; gzip_vary on; gzip_comp_level 6; gzip_proxied any; gzip_types text/plain text/html text/css application/json application/javascript application/x-javascript text/javascript text/xml application/xml application/rss+xml application/atom+xml application/rdf+xml; # make sure gzip does not lose large gzipped js or css files # see http:
Rahul Arora Feb 27 '11 at 9:38 2011-02-27 09:38
source share