Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
How do I set up a TON site?

I am looking for an easy walkthrough for setting up a TON Site.

I have setup the usual webserver using Nginx, with /var/www/site website directory.

What should I do next to launch this website as a TON Site?

Thank you.

  
  
Posted 2 years ago
Edited one year ago
Votes Newest

Answers 2


Then you need to install and configure rldp-http-proxy. Here is a step by step guide: https://ton.org/docs/#/web3/sites-and-proxy?id=running-ton-site

1
1
Posted 2 years ago
  
  

Hey, I think this feature is very important and needs a visual explanation if possible, there are some unclear points, like where will the data be hosted?
Will the service be completely dependent on TON, or does it have to be traditional hosting as well?

The available information is insufficient.

Almondass   2 years ago Report

There is an easy-to-use docker container for TON Proxy:
https://github.com/kdimentionaltree/ton-proxy-docker

You can run TON Proxy on your server in a few simple steps below if you already have some website running on port 80.

  1. git clone https://github.com/kdimentionaltree/ton-proxy-docker.git
  2. cd ton-proxy-docker
  3. docker-compose build
  4. ./init.sh
  5. docker-compose up -d

Also note that on 4th step you will get some output in terminal that is important. You will see two separate strings, one of these will be lower-case. It is ADNL address of your server so URL to open it will look like:
ufbeczhf4ayygzjnvzgnmiko4vacfkqte34khurt5nfvxwvsem7dued.adnl

After your website is available with raw ADNL address, you can add the DNS record on dns.ton.org to link it with your domain.

4
4
Posted 2 years ago
Edited 2 years ago
Daniil Sedov
233 × 6 Administrator