mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 01:46:18 +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
db63a8e468
commit
e143cc1843
|
@ -119,7 +119,7 @@ server {
|
||||||
location ~ ^/assets/(?<asset_path>.+)$ {
|
location ~ ^/assets/(?<asset_path>.+)$ {
|
||||||
expires 1y;
|
expires 1y;
|
||||||
# asset pipeline enables this
|
# asset pipeline enables this
|
||||||
# brotli_static on;
|
brotli_static on;
|
||||||
gzip_static on;
|
gzip_static on;
|
||||||
add_header Cache-Control public,immutable;
|
add_header Cache-Control public,immutable;
|
||||||
# HOOK in asset location (used for extensibility)
|
# HOOK in asset location (used for extensibility)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user