xxxxxxxxxx
Tunneling to HTTP or HTTPS only
By default, when ngrok runs an HTTP tunnel, it opens endpoints for both
HTTP and HTTPS traffic. If you wish to only forward HTTP or HTTPS
traffic, but not both, you can toggle this behavior with the --scheme
flag.
Example: Only listen on an HTTP tunnel endpoint
ngrok http --scheme=http site.dev:80
Example: Only listen on an HTTPS tunnel endpoint
ngrok http --scheme=https site.dev:80