Browse Source

nginx: add http_sub_module and other fix

Someone requested this module to be included, so create the config flag for it.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
lilik-openwrt-22.03
Ansuel Smith 6 years ago
parent
commit
8174576cdb
No known key found for this signature in database GPG Key ID: AC001D09ADBFEAD7
3 changed files with 15 additions and 2 deletions
  1. +5
    -0
      net/nginx/Config.in
  2. +5
    -0
      net/nginx/Config_ssl.in
  3. +5
    -2
      net/nginx/Makefile

+ 5
- 0
net/nginx/Config.in View File

@ -202,6 +202,11 @@ config NGINX_HTTP_SECURE_LINK
prompt "Enable HTTP secure link module" prompt "Enable HTTP secure link module"
default n default n
config NGINX_HTTP_SUB
bool
prompt "Enable HTTP sub module"
default n
config NGINX_HEADERS_MORE config NGINX_HEADERS_MORE
bool bool
prompt "Enable Headers_more module" prompt "Enable Headers_more module"


+ 5
- 0
net/nginx/Config_ssl.in View File

@ -194,6 +194,11 @@ config NGINX_HTTP_SECURE_LINK
bool bool
prompt "Enable HTTP secure link module" prompt "Enable HTTP secure link module"
default n default n
config NGINX_HTTP_SUB
bool
prompt "Enable HTTP sub module"
default n
config NGINX_HEADERS_MORE config NGINX_HEADERS_MORE
bool bool


+ 5
- 2
net/nginx/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nginx PKG_NAME:=nginx
PKG_VERSION:=1.15.1 PKG_VERSION:=1.15.1
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=nginx-$(PKG_VERSION).tar.gz PKG_SOURCE:=nginx-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://nginx.org/download/ PKG_SOURCE_URL:=http://nginx.org/download/
@ -261,6 +261,9 @@ ifneq ($(BUILD_VARIANT),all-module)
ifeq ($(CONFIG_NGINX_HTTP_SECURE_LINK),y) ifeq ($(CONFIG_NGINX_HTTP_SECURE_LINK),y)
ADDITIONAL_MODULES += --with-http_secure_link_module ADDITIONAL_MODULES += --with-http_secure_link_module
endif endif
ifeq ($(CONFIG_NGINX_HTTP_SUB),y)
ADDITIONAL_MODULES += --with-http_sub_module
endif
ifeq ($(CONFIG_NGINX_HEADERS_MORE),y) ifeq ($(CONFIG_NGINX_HEADERS_MORE),y)
ADDITIONAL_MODULES += --add-module=$(PKG_BUILD_DIR)/nginx-headers-more ADDITIONAL_MODULES += --add-module=$(PKG_BUILD_DIR)/nginx-headers-more
endif endif
@ -283,7 +286,7 @@ else
ADDITIONAL_MODULES += --with-http_ssl_module --add-module=$(PKG_BUILD_DIR)/nginx-naxsi/naxsi_src \ ADDITIONAL_MODULES += --with-http_ssl_module --add-module=$(PKG_BUILD_DIR)/nginx-naxsi/naxsi_src \
--add-module=$(PKG_BUILD_DIR)/lua-nginx --with-ipv6 --with-http_stub_status_module --with-http_flv_module \ --add-module=$(PKG_BUILD_DIR)/lua-nginx --with-ipv6 --with-http_stub_status_module --with-http_flv_module \
--with-http_dav_module --with-http_auth_request_module --with-http_v2_module --with-http_realip_module \ --with-http_dav_module --with-http_auth_request_module --with-http_v2_module --with-http_realip_module \
--with-http_secure_link_module --add-module=$(PKG_BUILD_DIR)/nginx-headers-more \
--with-http_secure_link_module --with-http_sub_module --add-module=$(PKG_BUILD_DIR)/nginx-headers-more \
--add-module=$(PKG_BUILD_DIR)/nginx-brotli --add-module=$(PKG_BUILD_DIR)/nginx-rtmp \ --add-module=$(PKG_BUILD_DIR)/nginx-brotli --add-module=$(PKG_BUILD_DIR)/nginx-rtmp \
--add-module=$(PKG_BUILD_DIR)/nginx-ts --add-module=$(PKG_BUILD_DIR)/nginx-ts
config_files += koi-utf koi-win win-utf fastcgi_params config_files += koi-utf koi-win win-utf fastcgi_params


Loading…
Cancel
Save