FRiCKLE / ngx_cache_purge

nginx module which adds ability to purge content from FastCGI, proxy, SCGI and uWSGI caches.
http://labs.frickle.com/nginx_ngx_cache_purge/
Other
1.06k stars 310 forks source link

How to build this module for dynamically loading to nginx? #72

Open xcellenceit opened 4 years ago

xcellenceit commented 4 years ago

Does loading this module dynamically is supported?

Moreover, how do we build it for using dynamically?

dvershinin commented 3 years ago

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 1 year ago

@xcellenceit

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.