From 53a89f7a485fe5e555a90cce43c63c1ef01f230b Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 6 Oct 2016 15:16:21 -0600 Subject: [PATCH] add another example --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d50479c..e931eb3 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,14 @@ npm install -g stunnel How to use `stunnel.js` with your own instance of `stunneld.js`: ```bash -stunnel.js --locals http:john.example.com:3000,https:john.example.com --stunneld https://tunnel.example.com:443 --secret abc123 +stunnel.js --locals john.example.com --stunneld wss://tunnel.example.com:443 --secret abc123 +``` + +```bash +stunnel.js \ + --locals http:john.example.com:3000,https:john.example.com \ + --stunneld wss://tunnel.example.com:443 \ + --secret abc123 ``` ```