mirror of
https://github.com/g3rv4/FakeRelay.git
synced 2024-11-24 16:23:10 +01:00
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}
|
||||
```
|
||||
|
||||
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
|
||||
```
|
||||
g3rv4@s1:~/docker/FakeRelay$ docker-compose run --rm cli list-instances
|
||||
|
Loading…
Reference in New Issue
Block a user