Last updated 4 years ago
重寫標頭 你可以從 看到相關的說明與指令。基本上有兩種可能的用法:
指定 -host-header=rewrite 參數,並在指定 Ports 時直接給與你要的域名,例如:localhost
-host-header=rewrite
localhost
ngrok http -host-header=rewrite localhost:5780
明確指定 Host 標頭在 -host-header= 參數中
ngrok http -host-header=localhost 5780