allow to work single "set_real_ip_from unix:"
Igor Sysoev
12 years ago
1 changed file(s) with
6 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+6
-1
src/http/modules/ngx_http_realip_module.c
less
more
125
125
126
126
rlcf = ngx_http_get_module_loc_conf(r, ngx_http_realip_module);
127
127
128
if (rlcf->from == NULL) {
128
if (rlcf->from == NULL
129
#if (NGX_HAVE_UNIX_DOMAIN)
130
&& !rlcf->unixsock
131
#endif
132
)
133
{
129
134
return NGX_DECLINED;
130
135
}
131
136