diff options
| author | Jeremy Kerr <jk@ozlabs.org> | 2018-08-03 15:04:38 +0800 |
|---|---|---|
| committer | Jeremy Kerr <jk@ozlabs.org> | 2018-08-09 13:46:14 +0800 |
| commit | 1952735c88624262b9d756d29db1058d26849ffc (patch) | |
| tree | 465cf083daca366dba7f31f66135c5ee3e8f5fc1 /README | |
| parent | 09295f2e0b0b07468e0f45f51889cb066d1e537f (diff) | |
| download | jsnbd-1952735c88624262b9d756d29db1058d26849ffc.tar.gz jsnbd-1952735c88624262b9d756d29db1058d26849ffc.zip | |
nbd-proxy: add configuration facility
Add a little configuration facility. We'll later add a method to
integrate this with UI-side configuration, so it's implmented as json.
We add a (temporarily required) argument to specify which configuration
to use.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'README')
| -rw-r--r-- | README | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -25,7 +25,9 @@ websocket endpoint, plus serve the static HTML+js client: git clone https://github.com/joewalnes/websocketd (cd websocketd && make) - sudo websocketd/websocketd --port=8000 --staticdir=web --binary ./nbd-proxy + sudo websocketd/websocketd --port=8000 --staticdir=web --binary ./nbd-proxy <config> + +- where <config> is a name of a configuration in the config.json file. Note that this type of invocation is very insecure, and intended just for experimentation. See the Security section below. |

