ngrok-openresty is a tool that makes it easy to set proxy settings and publish them on the Internet.
There are cases where you want to make simple tuning and publish it on the Internet and check the behavior.
For example, checking with PageSpeed Insights.
- docker 18.0++
- docker-compose 1.23++
$ cd ./ngrok-openresty
$ docker-compose build
$ docker network create ngrok_network
$ docker-compose up
Open http://localhost:4040 in a web browser to inspect request details.
Copy the described fqdn. (ex.375a84fc.ngrok.io)
$ ./register.sh <target fqdn> <output ngrok fqdn>
ex.
$ ./register.sh zabio3.github.io 375a84fc.ngrok.io
This completes the setting.
When accessing fqdn paid out from ngrok, the site of fqdn set will be proxied and displayed.
Report issues/questions/feature requests on GitHub Issues.
Pull requests are very welcome!