aboutsummaryrefslogtreecommitdiff
path: root/net/nginx/Makefile
diff options
context:
space:
mode:
authorGlen Huang <heyhgl@gmail.com>2022-01-29 20:54:35 +0800
committerToke Høiland-Jørgensen <toke@toke.dk>2022-08-16 00:32:04 +0200
commite84f6514538f0638507ce8066f801374db6f4150 (patch)
tree9274e85ce94512361980aade53f6b0864b819574 /net/nginx/Makefile
parentb02fea131b7fe0de5bf5132e2e3104eb343aa06f (diff)
acme: use the hotplug system
Signed-off-by: Glen Huang <heyhgl@gmail.com>
Diffstat (limited to 'net/nginx/Makefile')
-rw-r--r--net/nginx/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/nginx/Makefile b/net/nginx/Makefile
index 886c55db7..340de5846 100644
--- a/net/nginx/Makefile
+++ b/net/nginx/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nginx
PKG_VERSION:=1.21.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=nginx-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://nginx.org/download/
@@ -372,6 +372,9 @@ ifeq ($(CONFIG_NGINX_NAXSI),y)
endif
$(if $(CONFIG_NGINX_NAXSI),$($(INSTALL_BIN) $(PKG_BUILD_DIR)/nginx-naxsi/naxsi_config/naxsi_core.rules $(1)/etc/nginx))
$(if $(CONFIG_NGINX_NAXSI),$(chmod 0640 $(1)/etc/nginx/naxsi_core.rules))
+
+ $(INSTALL_DIR) $(1)/etc/hotplug.d/acme
+ $(INSTALL_DATA) ./files/acme.hotplug $(1)/etc/hotplug.d/acme/00-nginx
endef
Package/nginx-all-module/install = $(Package/nginx-ssl/install)