gzip support
This commit is contained in:
4
confs/site/gzip.conf
Normal file
4
confs/site/gzip.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
gzip on;
|
||||
gzip_comp_level %GZIP_COMP_LEVEL%;
|
||||
gzip_min_length %GZIP_MIN_LENGTH%;
|
||||
gzip_types %GZIP_TYPES%;
|
||||
@@ -1,7 +1,7 @@
|
||||
server {
|
||||
%SERVER_CONF%
|
||||
%MAIN_LUA%
|
||||
%PROXY_REAL_IP%
|
||||
%MAIN_LUA%
|
||||
%USE_MODSECURITY%
|
||||
%LISTEN_HTTP%
|
||||
%USE_HTTPS%
|
||||
@@ -32,4 +32,5 @@ server {
|
||||
%ERRORS%
|
||||
%USE_FAIL2BAN%
|
||||
%USE_CLIENT_CACHE%
|
||||
%USE_GZIP%
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user