gzip support

This commit is contained in:
bunkerity
2020-11-12 14:37:01 +01:00
parent 4dea1975e2
commit f18c054b42
6 changed files with 20 additions and 18 deletions

4
confs/site/gzip.conf Normal file
View File

@@ -0,0 +1,4 @@
gzip on;
gzip_comp_level %GZIP_COMP_LEVEL%;
gzip_min_length %GZIP_MIN_LENGTH%;
gzip_types %GZIP_TYPES%;

View File

@@ -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%
}