mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
FEATURE: enable NGINX brotli support unconditionally
Previously we would rely on enable brotli in the web template to turn this on, going forward this is default on
This commit is contained in:
parent
baa7a9836c
commit
be59c1559d
|
@ -119,7 +119,7 @@ server {
|
|||
location ~ ^/assets/(?<asset_path>.+)$ {
|
||||
expires 1y;
|
||||
# asset pipeline enables this
|
||||
# brotli_static on;
|
||||
brotli_static on;
|
||||
gzip_static on;
|
||||
add_header Cache-Control public,immutable;
|
||||
# HOOK in asset location (used for extensibility)
|
||||
|
|
Loading…
Reference in New Issue
Block a user