Closed skodilkar closed 1 year ago
This package doesn't use named tunnels from the yml config file, it gets the parameters from the command line or from your app.url
configuration.
It is meant for simple cases and creates the tunnel using the command ngrok http
not the ngrok start
that is the one used for named tunnels.
If you want to start ngrok with more complex settings you can do it directly from the ngrok command and the package will handle the requests anyway, if they come from any of the ngrok domains (ngrok.io, ngrok-free.app, ngrok-free.dev, ngrok.app, ngrok.dev).
Describe the bug When we run command PHP artisan ngrok we pass --extra parameter with config file path. Where I've written 2 tunnels. But after running PHP artisan ngrok command both the tunnels are not starting. Its starting only single tunnel.
Please see below information
| NGROK |
Host header: localhost Host: localhost Port: 80 Extra: --config=/home/skodilkar/snap/ngrok/108/.config/ngrok/ngrok.yml
Web Interface: http://127.0.0.1:4040
Forwarding: https://4110-115-160-208-226.ngrok-free.app -> http://localhost:80 <<< ONLY 2 tunnel is starting not the second one