From 2459eadb8f6d0f9b5778ceed9336f57218b187ce Mon Sep 17 00:00:00 2001 From: 99999 Date: Thu, 21 Apr 2016 22:39:32 +1000 Subject: [PATCH 1/2] ngx_slowfs_cache can now be compiled as a dynamic module --- config | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config b/config index 983440d..d6511e9 100644 --- a/config +++ b/config @@ -1,3 +1,12 @@ ngx_addon_name=ngx_http_slowfs_module + +if test -n "$ngx_module_link"; then + ngx_module_type=HTTP + ngx_module_name=ngx_http_slowfs_module + ngx_module_srcs="$ngx_addon_dir/ngx_http_slowfs_module.c" + + . auto/module +else HTTP_MODULES="$HTTP_MODULES ngx_http_slowfs_module" NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_slowfs_module.c" +fi From 5fc37d7e721dc5d1d6924b30dc1f1d01410b4597 Mon Sep 17 00:00:00 2001 From: 99999 Date: Thu, 21 Apr 2016 22:42:11 +1000 Subject: [PATCH 2/2] Corrected typos in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a28a52c..c6999ed 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ slowfs_cache * **default**: `none` * **context**: `http`, `server`, `location` -Sets area used for caching (previously definied using `slowfs_cache_path`). +Sets area used for caching (previously defined using `slowfs_cache_path`). slowfs_cache_key @@ -158,7 +158,7 @@ License ======= Copyright (c) 2009-2012, FRiCKLE Copyright (c) 2009-2012, Piotr Sikora - Copyrithg (c) 2002-2012, Igor Sysoev + Copyright (c) 2002-2012, Igor Sysoev All rights reserved. This project was fully funded by c2hosting.com.