浏览代码

Update comments

Teddysun 3 年之前
父节点
当前提交
3fe3edd15b
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. 3 1
      docker/hysteria/README.md
  2. 1 1
      docker/hysteria/server.json

+ 3 - 1
docker/hysteria/README.md

@@ -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

+ 1 - 1
docker/hysteria/server.json

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