2019-05-16 22:57:57 +02:00
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
# | GZip pre-compressed content |
|
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
|
2020-04-14 11:53:56 +02:00
|
|
|
# Serve gzip compressed CSS, JS, HTML, SVG, ICS, and JSON files if they exist
|
|
|
|
# and if the client accepts gzip encoding.
|
2019-05-16 22:57:57 +02:00
|
|
|
#
|
|
|
|
# (!) 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;
|