inconshreveable / ngrok

Unified ingress for developers
https://ngrok.com
Other
24.19k stars 4.27k forks source link

Dosen't work header #929

Closed Izumra closed 6 months ago

Izumra commented 1 year ago

ngrok http 8080 --host-header=rewrite --request-header-add "ngrok-skip-browser-warning: t;"

This command doesn't work and preload warning screen dosen't skip

russorat commented 6 months ago

Thank you for opening this issue! As of April 2016, the ngrok service has permanently moved to https://ngrok.com/. To join the community and file bug reports or feature enhancements for the ngrok agent, please go to https://github.com/ngrok/ngrok.

This repository is no longer actively maintained and will be archived soon to reduce confusion with the latest ngrok versions. We thank you for the continued support of ngrok and look forward to seeing you over at ngrok.com and the ngrok Community Repo.

russorat commented 6 months ago

@Izumra you cannot use the ngrok header-add capability to skip the browser warning. You will need to try one of the workarounds described here: https://ngrok.com/docs/guides/limits/#why-is-there-an-interstitial-in-front-of-my-html-content

If you are still having problems, please open a new issue in the https://github.com/ngrok/ngrok repo and we will take a look.