From bd0ee125123cafad948946e1675634583b2ef599 Mon Sep 17 00:00:00 2001 From: suyuan <175338101@qq.com> Date: Tue, 11 Oct 2022 22:51:09 +0800 Subject: [PATCH] fix --- nginx/Config_ssl.in | 5 +++++ nginx/Makefile | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/nginx/Config_ssl.in b/nginx/Config_ssl.in index 050d71fe3..098017aa6 100755 --- a/nginx/Config_ssl.in +++ b/nginx/Config_ssl.in @@ -46,6 +46,11 @@ config NGINX_HTTP_GZIP prompt "Enable HTTP gzip module" default y +config NGINX_HTTP_GZIP_STATIC + bool + prompt "Enable HTTP gzip static module" + default y + config NGINX_HTTP_SSI bool prompt "Enable HTTP ssi module" diff --git a/nginx/Makefile b/nginx/Makefile index bd03ac5f2..56d75ea52 100755 --- a/nginx/Makefile +++ b/nginx/Makefile @@ -32,6 +32,7 @@ PKG_CONFIG_DEPENDS := \ CONFIG_NGINX_STUB_STATUS \ CONFIG_NGINX_HTTP_CHARSET \ CONFIG_NGINX_HTTP_GZIP \ + CONFIG_NGINX_HTTP_GZIP_STATIC \ CONFIG_NGINX_HTTP_SSI \ CONFIG_NGINX_HTTP_USERID \ CONFIG_NGINX_HTTP_ACCESS \ @@ -159,6 +160,9 @@ ifneq ($(BUILD_VARIANT),all-module) ifneq ($(CONFIG_NGINX_HTTP_GZIP),y) ADDITIONAL_MODULES += --without-http_gzip_module endif + ifeq ($(CONFIG_NGINX_HTTP_GZIP_STATIC),y) + ADDITIONAL_MODULES += --with-http_gzip_static_module + endif ifneq ($(CONFIG_NGINX_HTTP_SSI),y) ADDITIONAL_MODULES += --without-http_ssi_module endif