Ngrok not sending to https
-
Forwarding http://acfad615.ngrok.io -> http://xxxx.test:80
Forwarding https://acfad615.ngrok.io -> http://xxxx.test:80How can I change that https is sending to https on port 443 ?
-
@up
Same question/problem
-
Another vouch
-
Face the same problem.
NOT the solutions, but some findings about this:-
In this scenario, i'm running Windows with local hostname carsaloon.test.
-
Enabled both local port 80 & 443 so we can visit http://carsaloon.test & https://carsaloon.test
-
Tested on the custom Ngrok configurations (carsaloon.yml), not work. Skip.
-
Manually start the Ngrok in Terminal, "ngrok http https://carsaloon.test" and get the tunnel endpoints URL e.g. xxx-yyy-zzz.ngrok.io
-
You need manually change the Apache/Nginx virtual host file, e.g. *server_name carsaloon.test .carsaloon.test 192.168.0.250 xxx-yyy-zzz.ngrok.io;
-
Restart Apache / Nginx. Then you can visit https://xxx-yyy-zzz.ngrok.io
**Final thought, the "Share" option in the Laragon application is fixed unless the Laragon developer change the command inside .exe file.
Hope this helped, and thanks to leokhoa.
-
-
Yep, the same here. Please do something about that, because it is so annoying!
-
Faced the same issue, had to go the @popkilli way.
-
face the same problem
-
After some period of time, now ngrok version 3 did support HTTPS forwarding, by not using click and select on "Share" provided in Laragon. Just use command to execute the tunneling: -
-
Download latest ngrok (version 3)
-
Upgrade or generate the ngrok config file (C:\Users<username>.ngrok2\ngrok.yml) by running "ngrok config upgrade" (for upgrade), else leave the file empty (for generate)
-
Inslde ngrok.yml: -
authtoken: <YOUR_TOKEN>
tunnels:
laragon:
addr: mytest0.test:80
proto: http
host_header: rewrite
test1:
addr: mytest1.test:80
proto: http
host_header: rewrite
test2:
addr: mytest2.test:80
proto: http
host_header: rewrite
version: "2"
region: us- replace addr with your own virtual host name and port
- you can recreate multiple tunnels, in this example the tunnel name is laragon, test1 & test2
- After save the config, simply run "ngrok start <TUNNEL_NAME>" to start, e.g. ngrok start laragon
-
-
@sjkhew Hi!
I've tried to start a tunnel as you proposed, unfortunately it shows me errors:ERROR: Error reading configuration file 'C:\Users\artte.ngrok2\ngrok.yml': YAML parsing error: yaml: unmarshal errors:
ERROR: line 2: field TestLaragon not found in type config.v2yamlConfig
ERROR: line 3: field addr not found in type config.v2yamlConfig
ERROR: line 4: field proto not found in type config.v2yamlConfig
ERROR: line 5: field host_header not found in type config.v2yamlConfigWhat am I doing wrong? Thank you
-
kindly use v3 ngrok