Update comments

This commit is contained in:
Teddysun 2022-06-22 20:51:14 +09:00
parent e1acb61301
commit 3fe3edd15b
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D
2 changed files with 4 additions and 2 deletions

View File

@ -34,11 +34,13 @@ A sample in JSON like below:
{
"listen": ":8998",
"cert": "/etc/hysteria/cert.crt",
"key": "/root/hysteria/private.key",
"key": "/etc/hysteria/private.key",
"obfs": "dGVkZHlzdW4uY29tCg=="
}
```
And put the `cert.crt`, `private.key` to the `/etc/hysteria/`.
There is an example to start a container that listen on port `8998`, run as a Hysteria server like below:
```bash

View File

@ -1,6 +1,6 @@
{
"listen": ":8998",
"cert": "/etc/hysteria/cert.crt",
"key": "/root/hysteria/private.key",
"key": "/etc/hysteria/private.key",
"obfs": "dGVkZHlzdW4uY29tCg=="
}