forked from extern/FakeRelay
update README
This commit is contained in:
parent
4266901008
commit
0ca3dea9f6
11
README.md
11
README.md
@ -81,6 +81,17 @@ The first time you run this it needs to create a key, you can trigger that using
|
|||||||
docker-compose run --rm cli config {relayHost}
|
docker-compose run --rm cli config {relayHost}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you want requests to the homepage to redirect visitors somewhere, you can add a `"HomeRedirect"` entry on the generated `config.json`. The file would look like this:
|
||||||
|
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"PublicKey": "-----BEGIN PUBLIC KEY-----\n...\n-----END PUBLIC KEY-----",
|
||||||
|
"PrivateKey": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----",
|
||||||
|
"Host": "fakerelay.gervas.io",
|
||||||
|
"HomeRedirect": "https://github.com/g3rv4/FakeRelay/"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
### List authorized hosts
|
### List authorized hosts
|
||||||
```
|
```
|
||||||
g3rv4@s1:~/docker/FakeRelay$ docker-compose run --rm cli list-instances
|
g3rv4@s1:~/docker/FakeRelay$ docker-compose run --rm cli list-instances
|
||||||
|
Loading…
Reference in New Issue
Block a user