-
-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Guild for faucet service | ||
|
||
## Submit You Config | ||
|
||
```json | ||
{ | ||
} | ||
``` | ||
|
||
## Fund the faucet account | ||
|
||
Visit your faucet page on [testnet.ping.pub](https://testnet.ping.pub) | ||
|
||
find the address and send some tokens to the address. | ||
|
||
|
||
## Proxy GRPC with Caddy | ||
|
||
the default grpc (9090) is insecure, we need to enable https | ||
|
||
1. install caddy | ||
```sh | ||
sudo apt install caddy -y | ||
``` | ||
|
||
2. add proxy: | ||
```sh | ||
vi /etc/caddy/Caddyfile | ||
``` | ||
```caddy | ||
testnet-grpc.side.one { # replace your domain. | ||
reverse_proxy localhost:9090 { | ||
transport http { | ||
versions h2c 2 | ||
} | ||
} | ||
} | ||
``` | ||
|
||
3. reload | ||
```sh | ||
sudo systemctl reload caddy | ||
``` |