minor tweaks.
This commit is contained in:
parent
8f5ac9f95e
commit
33a8d456b8
|
@ -103,7 +103,7 @@
|
||||||
clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module);
|
clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module);
|
||||||
|
|
||||||
clcf->handler = ngx_http_redis_handler;
|
clcf->handler = ngx_http_redis_handler;
|
||||||
@@ -936,10 +957,84 @@
|
@@ -936,10 +956,83 @@
|
||||||
rlcf->db = ngx_http_get_variable_index(cf, &ngx_http_redis_db);
|
rlcf->db = ngx_http_get_variable_index(cf, &ngx_http_redis_db);
|
||||||
rlcf->auth = ngx_http_get_variable_index(cf, &ngx_http_redis_auth);
|
rlcf->auth = ngx_http_get_variable_index(cf, &ngx_http_redis_auth);
|
||||||
|
|
||||||
|
@ -141,7 +141,6 @@
|
||||||
+ if (rlcf->upstream.upstream == NULL) {
|
+ if (rlcf->upstream.upstream == NULL) {
|
||||||
+ return NGX_CONF_ERROR;
|
+ return NGX_CONF_ERROR;
|
||||||
+ }
|
+ }
|
||||||
+
|
|
||||||
+
|
+
|
||||||
return NGX_CONF_OK;
|
return NGX_CONF_OK;
|
||||||
}
|
}
|
||||||
|
|
|
@ -657,9 +657,6 @@ echo "applying ngx_http_redis-$ver-default_port_fix.patch"
|
||||||
patch -p1 < $root/patches/ngx_http_redis-$ver-default_port_fix.patch || exit 1
|
patch -p1 < $root/patches/ngx_http_redis-$ver-default_port_fix.patch || exit 1
|
||||||
echo
|
echo
|
||||||
|
|
||||||
# echo "applying ngx_http_redis-$ver-without_gzip.patch"
|
|
||||||
# patch -p1 < $root/patches/ngx_http_redis-$ver-without_gzip.patch || exit 1
|
|
||||||
# echo
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
Loading…
Reference in New Issue