Skip to content

Commit 4df83de

Browse files
jmacdotorgdormando
authored andcommitted
Fix an incorrect placeholder related to pool options. Move a warning about naming pools closer to the bullet point about naming pools.
1 parent 75c3360 commit 4df83de

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

content/features/proxy/configure.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The `pools{}` block contains one or more pool definitions in the following forma
6868

6969
```lua
7070
{{<var>}}POOL_NAME{{</var>}} = {
71-
options = { {{<var>}}OPTIONS{{</var>}} },
71+
options = { {{<var>}}POOL_OPTIONS{{</var>}} },
7272
backend_options = { {{<var>}}BACKEND_OPTIONS{{</var>}} },
7373
backends = {
7474
"{{<var>}}HOST{{</var>}}:{{<var>}}PORT{{</var>}}",
@@ -80,13 +80,12 @@ The `pools{}` block contains one or more pool definitions in the following forma
8080
Replace the following:
8181

8282
* <var>POOL_NAME</var>: a name for this pool—for example, `northeast_1`.
83+
{{< callout type="warning" >}}Don't start any pool name with `set_`. That name style is reserved for sets of pools. For more information, see [Define sets of pools](#sets).{{</callout>}}
8384
* <var>POOL_OPTIONS</var>: (optional) a comma-separated list, in `key=value` format, of settings for the proxy to apply to this pool. For a list of settings, see [Pool API]({{<legacy_proxy_base_path>}}#pool-api).
8485
* <var>BACKEND_OPTIONS</var>: (optional) a comma-separated list, in `key=value` format, of settings for the proxy to apply to all of the backends in the pool. For a list of settings, see [Backend API]({{<legacy_proxy_base_path>}}#backend-api).
8586
* <var>HOST</var>: the IP address or hostname of the Memcached server you are defining as a backend.
8687
* <var>PORT</var>: (optional) the TCP port of the Memcached server you are defining as a backend. The default value is `11211`.
8788

88-
{{< callout type="warning" >}}Don't start any pool name with `set_`. That name style is reserved for sets of pools. For more information, see [Define sets of pools](#sets).{{</callout>}}
89-
9089
To fine-tune the proxy settings for an individual backend, replace its entry in the `backends` list with a curly-braced list of back-end options. The list must include `host`.
9190

9291
The following example defines two backends, including one that runs on port 11212 and has a ten-second connection timeout:

0 commit comments

Comments
 (0)