Currently the script downloads the ngx_cache_purge module from FRiCKLE, which had its last update 8 years ago. No wonder i've had problems using that module with nginx v1.22.0 (stable).
I suggest using an actively maintained fork, for example the one from nginx-modules or from torden.
I already tried it by manually changing the source in the script from /FRiCKLE/ to /nginx-modules/ (on line 367) and everything works like a charm.
Currently the script downloads the
ngx_cache_purge
module from FRiCKLE, which had its last update 8 years ago. No wonder i've had problems using that module with nginx v1.22.0 (stable).I suggest using an actively maintained fork, for example the one from nginx-modules or from torden.
I already tried it by manually changing the source in the script from
/FRiCKLE/
to/nginx-modules/
(on line 367) and everything works like a charm.