Catégorie : Infrastructure
-
Tips On How To Allow Gzip Compression On An Nginx Server » Vander Host Knowledgebase
To ship a compressed model of a file to the shopper as an alternative of the common one, set the gzip_static directive to on throughout the appropriate context. The default location of the configuration file is /etc/nginx/nginx.conf. Alternatively, yow will discover it within the /etc/nginx/conf.d/ directory. To view the Gzip compression ratio in Nginx logs,…