+20
-20
lines changedFilter options
+20
-20
lines changed Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ This module is production ready.
70
70
Version
71
71
=======
72
72
73
-
This document describes srcache-nginx-module [v0.28](https://github.com/openresty/srcache-nginx-module/tags) released on 8 July 2014.
73
+
This document describes srcache-nginx-module [v0.29](https://github.com/openresty/srcache-nginx-module/tags) released on 18 February 2015.
74
74
75
75
Synopsis
76
76
========
@@ -79,7 +79,7 @@ Synopsis
79
79
80
80
upstream my_memcached {
81
81
server 10.62.136.7:11211;
82
-
keepalive 512;
82
+
keepalive 10;
83
83
}
84
84
85
85
location = /memc {
@@ -255,11 +255,11 @@ To maximize speed, we often enable TCP (or Unix Domain Socket) connection pool f
255
255
upstream moon {
256
256
server 10.62.136.54:11211;
257
257
server unix:/tmp/memcached.sock backup;
258
-
keepalive 512;
258
+
keepalive 10;
259
259
}
260
260
```
261
261
262
-
where we define a connection pool which holds up to 512 keep-alive connections for our `moon` upstream (cluster).
262
+
where we define a connection pool which holds up to 10 keep-alive connections (per nginx worker process) for our `moon` upstream (cluster).
263
263
264
264
[Back to TOC](#table-of-contents)
265
265
@@ -1002,15 +1002,15 @@ It is recommended to install this module as well as the Nginx core and many othe
1002
1002
1003
1003
Alternatively, you can build Nginx with this module all by yourself:
1004
1004
1005
-
* Grab the nginx source code from [nginx.org](http://nginx.org), for example, the version 1.7.2 (see [Nginx Compatibility](#compatibility)),
1005
+
* Grab the nginx source code from [nginx.org](http://nginx.org), for example, the version 1.7.10 (see [Nginx Compatibility](#compatibility)),
1006
1006
* and then apply the patch to your nginx source tree that fixes an important bug in the mainline Nginx core: <https://raw.github.com/openresty/ngx_openresty/master/patches/nginx-1.4.3-upstream_truncation.patch> (you do NOT need this patch if you are using nginx 1.5.3 and later versions.)
1007
1007
* after that, download the latest version of the release tarball of this module from srcache-nginx-module [file list](http://github.com/openresty/srcache-nginx-module/tags),
1008
1008
* and finally build the Nginx source with this module
1009
1009
```nginx
1010
1010
1011
-
wget 'http://nginx.org/download/nginx-1.7.2.tar.gz'
1012
-
tar -xzvf nginx-1.7.2.tar.gz
1013
-
cd nginx-1.7.2/
1011
+
wget 'http://nginx.org/download/nginx-1.7.10.tar.gz'
1012
+
tar -xzvf nginx-1.7.10.tar.gz
1013
+
cd nginx-1.7.10/
1014
1014
1015
1015
# Here we assume you would install you nginx under /opt/nginx/.
1016
1016
./configure --prefix=/opt/nginx \
@@ -1027,7 +1027,7 @@ Compatibility
1027
1027
1028
1028
The following versions of Nginx should work with this module:
1029
1029
1030
-
* 1.7.x (last tested: 1.7.2)
1030
+
* 1.7.x (last tested: 1.7.10)
1031
1031
* 1.5.x (last tested: 1.5.12)
1032
1032
* 1.4.x (last tested: 1.4.4)
1033
1033
* 1.3.x (last tested: 1.3.7)
@@ -1117,7 +1117,7 @@ Yichun "agentzh" Zhang (章亦春) <agentzh@gmail.com>, CloudFlare Inc.
1117
1117
Copyright & License
1118
1118
===================
1119
1119
1120
-
Copyright (c) 2010-2014, Yichun "agentzh" Zhang (章亦春) <agentzh@gmail.com>, CloudFlare Inc.
1120
+
Copyright (c) 2010-2015, Yichun "agentzh" Zhang (章亦春) <agentzh@gmail.com>, CloudFlare Inc.
1121
1121
1122
1122
This module is licensed under the terms of the BSD license.
1123
1123
Original file line number Diff line number Diff line change
@@ -10,14 +10,14 @@ This module is production ready.
10
10
11
11
= Version =
12
12
13
-
This document describes srcache-nginx-module [https://github.com/openresty/srcache-nginx-module/tags v0.28] released on 8 July 2014.
13
+
This document describes srcache-nginx-module [https://github.com/openresty/srcache-nginx-module/tags v0.29] released on 18 February 2015.
14
14
15
15
= Synopsis =
16
16
17
17
<geshi lang="nginx">
18
18
upstream my_memcached {
19
19
server 10.62.136.7:11211;
20
-
keepalive 512;
20
+
keepalive 10;
21
21
}
22
22
23
23
location = /memc {
@@ -180,11 +180,11 @@ To maximize speed, we often enable TCP (or Unix Domain Socket) connection pool f
180
180
upstream moon {
181
181
server 10.62.136.54:11211;
182
182
server unix:/tmp/memcached.sock backup;
183
-
keepalive 512;
183
+
keepalive 10;
184
184
}
185
185
</geshi>
186
186
187
-
where we define a connection pool which holds up to 512 keep-alive connections for our <code>moon</code> upstream (cluster).
187
+
where we define a connection pool which holds up to 10 keep-alive connections (per nginx worker process) for our <code>moon</code> upstream (cluster).
188
188
189
189
== Caching with Redis ==
190
190
@@ -823,14 +823,14 @@ It is recommended to install this module as well as the Nginx core and many othe
823
823
824
824
Alternatively, you can build Nginx with this module all by yourself:
825
825
826
-
* Grab the nginx source code from [http://nginx.org nginx.org], for example, the version 1.7.2 (see [[#Compatibility|Nginx Compatibility]]),
826
+
* Grab the nginx source code from [http://nginx.org nginx.org], for example, the version 1.7.10 (see [[#Compatibility|Nginx Compatibility]]),
827
827
* and then apply the patch to your nginx source tree that fixes an important bug in the mainline Nginx core: https://raw.github.com/openresty/ngx_openresty/master/patches/nginx-1.4.3-upstream_truncation.patch (you do NOT need this patch if you are using nginx 1.5.3 and later versions.)
828
828
* after that, download the latest version of the release tarball of this module from srcache-nginx-module [http://github.com/openresty/srcache-nginx-module/tags file list],
829
829
* and finally build the Nginx source with this module
830
830
<geshi lang="nginx">
831
-
wget 'http://nginx.org/download/nginx-1.7.2.tar.gz'
832
-
tar -xzvf nginx-1.7.2.tar.gz
833
-
cd nginx-1.7.2/
831
+
wget 'http://nginx.org/download/nginx-1.7.10.tar.gz'
832
+
tar -xzvf nginx-1.7.10.tar.gz
833
+
cd nginx-1.7.10/
834
834
835
835
# Here we assume you would install you nginx under /opt/nginx/.
836
836
./configure --prefix=/opt/nginx \
@@ -844,7 +844,7 @@ Alternatively, you can build Nginx with this module all by yourself:
844
844
845
845
The following versions of Nginx should work with this module:
846
846
847
-
* 1.7.x (last tested: 1.7.2)
847
+
* 1.7.x (last tested: 1.7.10)
848
848
* 1.5.x (last tested: 1.5.12)
849
849
* 1.4.x (last tested: 1.4.4)
850
850
* 1.3.x (last tested: 1.3.7)
@@ -903,7 +903,7 @@ Yichun "agentzh" Zhang (章亦春) <agentzh@gmail.com>, CloudFlare Inc.
903
903
904
904
= Copyright & License =
905
905
906
-
Copyright (c) 2010-2014, Yichun "agentzh" Zhang (章亦春) <agentzh@gmail.com>, CloudFlare Inc.
906
+
Copyright (c) 2010-2015, Yichun "agentzh" Zhang (章亦春) <agentzh@gmail.com>, CloudFlare Inc.
907
907
908
908
This module is licensed under the terms of the BSD license.
909
909
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4