Skip to content

Thor45143/reverse-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

88188386f6befb9221cbef370ed87af009d5793d# Tonutils Reverse Proxy Easy to set up and use reverse proxy for TON Sites. It makes your website accessible via TON Network!

Installation on any Linux

Download
wget https://github.com/ton-utils/reverse-proxy/releases/download/v0.3.0/tonutils-reverse-proxy-linux-amd64
chmod 777 tonutils-reverse-proxy-linux-amd64

Builds for other operation systems are also available on release page.

Run

Run with domain configuration, and follow the steps:

./tonutils-reverse-proxy-linux-amd64 --domain your-domain.ton 

yes1

Scan QR code from your terminal using Tonkeeper, Tonhub or any other wallet, execute transaction. Your domain will be linked to your site.
Run without domain

Alternatively, you can run in simple mode, with .adnl domain, if you don't have .ton or .t.me domain:

./tonutils-reverse-proxy-linux-amd64
Use

Now anyone can access your TON Site! Using ADNL address or domain.

If you want to change some settings, like proxy pass url - open config.json file, edit and restart proxy. Default proxy pass url is http://127.0.0.1:80/

Proxy adds additional headers: X-Adnl-Ip - ip of client, and X-Adnl-Id - adnl id of client

Installation on any other OS

Build it from sources using ./build.sh, and run as in the step 2 for linux. Go environment is required to build.

About

Reverse proxy for TON sites

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 97.1%
  • Shell 2.9%