nginx: introduce support for dynamic modules
authorChristian Marangi <ansuelsmth@gmail.com>
Fri, 8 Oct 2021 23:18:41 +0000 (01:18 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 27 Apr 2023 04:14:57 +0000 (06:14 +0200)
commit65a676ed56fb25e41980b910c2453ea9da8773db
treee3bbff2b55f6d6b4fb4eb6e93fb6e481f3598a6e
parent0a67d0e1293df8a5be7ba9fe24834952c1e835e7
nginx: introduce support for dynamic modules

Start building sub package that provide dynamic modules.

Each module needs to be loaded using load_modules.
Refer to nginx documentation on how to use this.

This should result in lower memory usage as only used module are loaded.

Also fix the uci-default scripts to add the required ubus module for
luci module.

-fvisibility=hidden is needed to be dropped to correctly support loading
dynamic modules.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
net/nginx/Config_ssl.in
net/nginx/Makefile
net/nginx/files-luci-support/60_nginx-luci-support