Closed Kirill-Kiyko closed 3 years ago
Hi @Kirill-Kiyko,
Please see the documentation for setting the Origin of the App server: https://github.com/anvil-works/anvil-runtime#origin
In this case, you will need to set something like --origin https://something.ngrok.io --disable-tls
I hope that helps - please close the issue if so.
@daviesian Thanks a lot, it works! But maybe it's possible to update --origin description because it's not 100% clear? For example, ngrok - is not a public host. Also, after providing origin locally, the anvil will try to start the server on port 80 and you can't do that locally without root rights, so also need to specify --port.
We ran an anvil app and tried to use ngrok to access the Internet, but Anvil doesn't change the port number for assets. I'm not sure about other parts because I can't even login
I used only uplink-key, auto-migrate and SMTP flags in the config file
Take a look at the images
We tried to run the app on Windows 10, on Windows 10 + WSL 2, and on Ubuntu 16.04 LTS, results were the same always