1
0
Teddysun 3 жил өмнө
parent
commit
3fe3edd15b

+ 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=="
 }