Skip to content

Commit 50adafa

Browse files
authored
move config
1 parent f6b5298 commit 50adafa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

static/nginx.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# https://docs.nginx.com/nginx/admin-guide/dynamic-modules/brotli/
2+
load_module modules/ngx_http_brotli_filter_module.so; # for compressing responses on-the-fly
3+
load_module modules/ngx_http_brotli_static_module.so; # for serving pre-compressed files
4+
15
user www-data;
26
worker_processes 2;
37
pid /run/nginx.pid;
@@ -11,10 +15,6 @@ events {
1115
use epoll;
1216
}
1317

14-
# https://docs.nginx.com/nginx/admin-guide/dynamic-modules/brotli/
15-
load_module modules/ngx_http_brotli_filter_module.so; # for compressing responses on-the-fly
16-
load_module modules/ngx_http_brotli_static_module.so; # for serving pre-compressed files
17-
1818
http {
1919
##
2020
# Basic Settings

0 commit comments

Comments
 (0)