add another example

This commit is contained in:
AJ ONeal 2016-10-06 15:16:21 -06:00
parent 4578d593d8
commit 53a89f7a48
1 changed files with 8 additions and 1 deletions

View File

@ -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
```
```