I am using MAMP Pro as development environment. I have used ngrok with MAMP before. however in this particular situation it redirects from the ngrok url to my local url and https is not available .
my local server is e-kyc.dev and im using ngrok http -host-header=e-kyc.dev 80 to run ngrok.
however when im using https:/a95118d9.ngrok.io it loads the welcome page(wihtout ssl) and once I click on a link it will redirect to a local url like e-kyc.dev/login instead of https:/a95118d9.ngrok.io/login
NOTE: my server works as expected locally, also functioning properly while using xip.io(for Lan) and selfsigned SSL.
for me the option --host-header=rewrite did work out:
./ngrok http --host-header=rewrite myname.test:80
Two ways to fix this:
First, the free way:
ngrok http 8080 from inside the public directory.Next, the paid way:
ngrok tls -subdomain=encrypted 443
... I'm assuming that the OP wants to go the free route. Hope this helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With