summaryrefslogtreecommitdiffhomepage
path: root/auto/modules
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2017-07-20 08:50:49 +0300
committerRoman Arutyunyan <arut@nginx.com>2017-07-20 08:50:49 +0300
commit3900d1cb3cf39963d909604923f7e7af6ecf99fd (patch)
tree70e55ea1ef20488c7aef08ab702f0edbfd02a264 /auto/modules
parent129b06dc5dfab7b4513a4f274b3778cd9b8a6a22 (diff)
downloadnginx-3900d1cb3cf39963d909604923f7e7af6ecf99fd.tar.gz
nginx-3900d1cb3cf39963d909604923f7e7af6ecf99fd.tar.bz2
Mirror module.
Diffstat (limited to 'auto/modules')
-rw-r--r--auto/modules11
1 files changed, 11 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules
index 1500f8847..26b05bd8b 100644
--- a/auto/modules
+++ b/auto/modules
@@ -506,6 +506,17 @@ if [ $HTTP = YES ]; then
. auto/module
fi
+ if [ $HTTP_MIRROR = YES ]; then
+ ngx_module_name=ngx_http_mirror_module
+ ngx_module_incs=
+ ngx_module_deps=
+ ngx_module_srcs=src/http/modules/ngx_http_mirror_module.c
+ ngx_module_libs=
+ ngx_module_link=$HTTP_MIRROR
+
+ . auto/module
+ fi
+
if :; then
ngx_module_name=ngx_http_try_files_module
ngx_module_incs=