You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Move the `routelib.lua` file that you downloaded in the previous step to some permanent place on your file system, and take note of it. You will need to refer to its path when you run the Memcached proxy.
101
+
1. [Optionally] Move the `routelib.lua` file that you downloaded in the previous step to some permanent place on your file system, and take note of it. You will need to refer to its path when you run the Memcached proxy.
Copy file name to clipboardExpand all lines: content/features/proxy/quickstart.md
+2-10Lines changed: 2 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -67,14 +67,6 @@ Because the Memcached built-in proxy is a non-default, compile-time configuratio
67
67
68
68
Note: For the sake of simplicity and easier cleanup, this quick-start guide doesn't include a `make install` step. If you want to install the proxy-enabled Memcached on this machine, then you can do as a final step at the end of this guide.
To create a minimal proxy configuration file named `config.lua`, run the following command:
@@ -113,10 +105,10 @@ routes{
113
105
./memcached -l localhost -p 11213 &
114
106
```
115
107
116
-
1. Launch a third Memcached server in proxy mode, by specifying the proxy-specific configuration files that you downloaded and created, respectively, in previous steps:
108
+
1. Launch a third Memcached server in proxy mode, by specifying the proxy-specific configuration file that you created, in previous steps:
Copy file name to clipboardExpand all lines: content/features/proxy/run.md
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -38,12 +38,15 @@ To run the proxy in the background, append a `&` to the end of the command, in t
38
38
39
39
The following example command launches a Memcached proxy with the following aspects:
40
40
41
-
* The proxy loads a route library file named `routelib.lua` stored in your home directory. For more information about obtaining this file, see [Download and build the proxy]({{<proxy_base_path>}}install#download).
41
+
* The proxy loads a route library file named `routelib` that it ships with. For more information about updating or modifying this file, see [Download and build the proxy]({{<proxy_base_path>}}install#download).
42
42
* The proxy loads a configuration file named `my_config.lua` stored in your home directory.
43
43
* The proxy listens for connections on TCP port `11212`.
@@ -88,7 +91,7 @@ To specify multiple, tagged TCP ports, include the `-l` or `--listen` command-li
88
91
For example, the following command runs the proxy with three TCP ports active. Two of the ports are tagged `main` and `alt`, respectively, and one port has no tag associated with it:
For more information on configuring the proxy to handle requests based on connected ports, see [Define multiple route trees]({{<proxy_base_path>}}configure/#multiple-trees).
0 commit comments