Host header to determine which of their multiple sites they should serve. To expose a site like this it is possible to ask ngrok to rewrite the Host header of all requests to match what your web server expects. You can do this with the add-headers Traffic Policy action (see: Rewriting the Host header) to pick which virtual host you want to target. For example, to route to your local site myapp.dev, save the following as traffic-policy.yml:
host to localhost.