Skip to content

Commit 5d03cf2

Browse files
authored
enable brotli
1 parent 3dea5da commit 5d03cf2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

static/nginx.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ events {
1111
use epoll;
1212
}
1313

14+
load_module modules/ngx_http_brotli_filter_module.so; # for compressing responses on-the-fly
15+
load_module modules/ngx_http_brotli_static_module.so; # for serving pre-compressed files
16+
1417
http {
1518
##
1619
# Basic Settings

0 commit comments

Comments
 (0)