http_proxy. You may also set proxy configuration explicitly in the ngrok configuration file:
Web Servers
Using ngrok with an outbound proxy
Learn how to configure ngrok to work through HTTP or SOCKS5 outbound proxies using environment variables or configuration files.
ngrok works correctly through an HTTP or SOCKS5 proxy. ngrok respects the standard unix environment variable