How to build this module for dynamically loading to nginx?
xcellenceit opened this issue · 2 comments
xcellenceit commented
Does loading this module dynamically is supported?
Moreover, how do we build it for using dynamically?
dvershinin commented
If you're on CentOS/RHEL 6, 7, or 8, the easiest way to install the dynamic module (without building) is through the GetPageSpeed repository (commercial) using instructions:
yum -y install https://extras.getpagespeed.com/release-latest.rpm
yum -y install nginx-module-cache-purge
Enable the module by adding the following at the top of /etc/nginx/nginx.conf:
load_module modules/ngx_http_cache_purge_module.so;
Danrancan commented
Does loading this module dynamically is supported?
Yes, you can find the dynamic version in my fork at https://github.com/Danrancan/ngx_cache_purge_dynamic.
Moreover, how do we build it for using dynamically?
The dynamic build instructions are on my forks README.