diff --git a/docker/hysteria/README.md b/docker/hysteria/README.md index 657c0d5..765af9d 100644 --- a/docker/hysteria/README.md +++ b/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 diff --git a/docker/hysteria/server.json b/docker/hysteria/server.json index 89000d7..cd401bd 100644 --- a/docker/hysteria/server.json +++ b/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==" }