This commit is contained in:
light
2018-01-01 18:06:22 +08:00
parent b2d9201c76
commit 2b2c45df65
6 changed files with 71 additions and 5 deletions
+3 -4
View File
@@ -29,16 +29,15 @@ sudo make release-server release-client
```
``` bash
sudo ./bin/ngrokd -tlsKey=server.key -tlsCrt=server.crt -domain="ngrok.hellolight.me" -httpAddr=":8081" -httpsAddr=":8082"
# 服务器上运行服务命令
sudo ./bin/ngrokd -tlsKey=server.key -tlsCrt=server.crt -domain="ngrok.hellolight.me" -httpAddr=":8081" -httpsAddr=":8082"
```
``` bash
server_addr: "ngrok.hellolight.me:4443"
trust_host_root_certs: false
```
./ngrok -subdomain pub -proto=http -config=ngrok.cfg 8000
./ngrok -subdomain pub -proto=http -config=ngrok.cfg 22