18 lines
702 B
Nginx Configuration File
18 lines
702 B
Nginx Configuration File
|
# ----------------------------------------------------------------------
|
||
|
# | Brotli pre-compressed content |
|
||
|
# ----------------------------------------------------------------------
|
||
|
|
||
|
# Serve brotli compressed files if they exist and if the client accepts brotli
|
||
|
# encoding.
|
||
|
#
|
||
|
# (!) To make this part relevant, you need to generate encoded files by your
|
||
|
# own. Enabling this part will not auto-generate brotlied files.
|
||
|
#
|
||
|
# Note that some clients (eg. browsers) require a secure connection to request
|
||
|
# brotli-compressed resources.
|
||
|
# https://www.chromestatus.com/feature/5420797577396224
|
||
|
#
|
||
|
# https://github.com/eustas/ngx_brotli/#brotli_static
|
||
|
|
||
|
brotli_static on;
|