From cb67e6ad4ca974c2273f2cff4a421164bc7d1dc5 Mon Sep 17 00:00:00 2001 From: Hakase Date: Tue, 13 Feb 2024 15:01:59 +0900 Subject: [PATCH] Add submodule (ngx_cache_purge) --- .gitmodules | 3 +++ config.inc.sample | 3 +++ lib/ngx_cache_purge | 1 + 3 files changed, 7 insertions(+) create mode 160000 lib/ngx_cache_purge diff --git a/.gitmodules b/.gitmodules index e6dace0..5942bc2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -43,3 +43,6 @@ [submodule "lib/ngx_dynamic_etag"] path = lib/ngx_dynamic_etag url = https://github.com/dvershinin/ngx_dynamic_etag +[submodule "lib/ngx_cache_purge"] + path = lib/ngx_cache_purge + url = https://github.com/wasas/ngx_cache_purge diff --git a/config.inc.sample b/config.inc.sample index 554c812..9e6db3e 100644 --- a/config.inc.sample +++ b/config.inc.sample @@ -56,6 +56,9 @@ ZSTD=1 ### ngx_dynamic_etag DYNAMIC_ETAG=1 +### ngx_cache_purge +CACHE_PURGE=1 + ########################## ### nginx install path ### ########################## diff --git a/lib/ngx_cache_purge b/lib/ngx_cache_purge new file mode 160000 index 0000000..a84b0f3 --- /dev/null +++ b/lib/ngx_cache_purge @@ -0,0 +1 @@ +Subproject commit a84b0f3f082025dec737a537a9a443bdd6d6af9d