Skip to content

Commit

Permalink
Merge pull request #21 from nitreojs/readme
Browse files Browse the repository at this point in the history
update README for more correct `chmod` usage
  • Loading branch information
xssnick authored Aug 1, 2024
2 parents 958d528 + 3b51497 commit 20be200
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,39 @@
Easy to set up and use reverse proxy for TON Sites.
It makes your website accessible via TON Network!


### Installation on any Linux

##### Download
```bash

```sh
wget https://github.com/ton-utils/reverse-proxy/releases/download/v0.3.2/tonutils-reverse-proxy-linux-amd64
chmod 777 tonutils-reverse-proxy-linux-amd64
chmod +x 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:
```

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

<img width="500" alt="yes1" src="https://user-images.githubusercontent.com/9332353/210967656-182b0d0f-6954-49c9-bf8a-40f5b4a61aa7.png">

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:
```

```sh
./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/`
Expand Down

0 comments on commit 20be200

Please sign in to comment.