If you want to use these modules, you must specify the relevant compilation parameters at compile time.
 
This module checks to see if a compressed file with the end of ". Gz" exists before a compressed file is transferred to the client on which gzip compression is turned on, which prevents the file from being compressed repeatedly.
This module is available after 0.6.24, and if you want to use it, you need to specify the following parameters at compile time:
./configure--with-http_gzip_static_module
Sample configuration:
Gzip_static on; Gzip_http_version 1.1;gzip_proxied expired No-cache no-store private auth;gzip_disable "MSIE [1-6]\."; Gzip_vary on;
Instructions
 
Gzip_static
 
Syntax: Gzip_static on|off
Default value: Gzip_static off
Working with fields: HTTP, server, location
To enable the module, you need to make sure that the compressed file is the same as the timestamp of the uncompressed file.
 
Gzip_http_version
 
Refer to the GZIP compression module.
 
Gzip_proxied
 
Refer to the GZIP compression module.
 
Gzip_disable
 
Refer to the GZIP compression module.
 
Gzip_vary
 
Refer to the GZIP compression module.