server-configs-nginx/h5bp/web_performance/pre-compressed_content_gzip...

14 lines
538 B
Nginx Configuration File
Raw Normal View History

# ----------------------------------------------------------------------
# | GZip pre-compressed content |
# ----------------------------------------------------------------------
# Serve gzip compressed files if they exist and if the client accepts gzip
# encoding.
#
# (!) To make this part relevant, you need to generate encoded files by your
# own. Enabling this part will not auto-generate gziped files.
#
# https://nginx.org/en/docs/http/ngx_http_gzip_static_module.html
gzip_static on;