From 976162161601dedc9cf16d7f780108e0ab836f84 Mon Sep 17 00:00:00 2001 From: Ivan Aracki Date: Fri, 10 May 2019 16:08:21 +0200 Subject: [PATCH] ngrok: add page (#3003) --- pages/common/ngrok.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/ngrok.md diff --git a/pages/common/ngrok.md b/pages/common/ngrok.md new file mode 100644 index 000000000..3c6141262 --- /dev/null +++ b/pages/common/ngrok.md @@ -0,0 +1,24 @@ +# ngrok + +> Reverse proxy that creates a secure tunnel from a public endpoint to a locally running web service. +> Homepage: . + +- Expose a local HTTP service on a given port: + +`ngrok http {{80}}` + +- Expose a local HTTP service on a specific host: + +`ngrok http {{foo.dev}}:{{80}}` + +- Expose a local HTTPS server: + +`ngrok http https://localhost` + +- Expose TCP traffic on a given port: + +`ngrok tcp {{22}}` + +- Expose TLS traffic for a specific host and port: + +`ngrok tls -hostname={{foo.com}} {{443}}`