tonutils/reverse-proxy as a Docker image
linux/amd64 and linux/arm64 images are available.
First, you have to generate a config.json file using this command:
docker run --entrypoint "/gen_config.sh" m4l3vich/ton-reverse-proxyAt the end it should output the freshly generated config, save it in a config.json file somewhere.
Then you can run the container:
docker run -p10391:10391/udp -v ./config.json:/app/config.json m4l3vich/ton-reverse-proxy --domain YOUR-TON-DOMAIN.tonReplace 10391 with your port from the config file. Or replace -p10391:10391 with --network=host if you are not familiar with Docker networking.
If you have any problems (like lite server error: code 651), you can try looking here: