Add support for loading dynamic module in uci template by adding .module
file in module.d directory.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
PKG_NAME:=nginx-util
PKG_VERSION:=1.6
-PKG_RELEASE:=15
+PKG_RELEASE:=16
PKG_MAINTAINER:=Peter Stadler <peter.stadler@student.uibk.ac.at>
include $(INCLUDE_DIR)/package.mk
$(INSTALL_CONF) ./files/restrict_locally $(1)/etc/nginx/
+ $(INSTALL_DIR) $(1)/etc/nginx/module.d/
+
$(INSTALL_DIR) $(1)/etc/config/
$(INSTALL_CONF) ./files/nginx.config $(1)/etc/config/nginx
user root;
+include module.d/*.module;
+
events {}
http {