From 3fe3edd15bcac01844cb1fb33ece484e99a01682 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Wed, 22 Jun 2022 20:51:14 +0900 Subject: [PATCH] Update comments --- docker/hysteria/README.md | 4 +++- docker/hysteria/server.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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==" }