From 8c2955b817333551b0ca8e09305e3bda34e2f96a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E6=89=87=E6=BB=91=E7=BF=94=E7=BF=BC?= Date: Tue, 26 Aug 2025 22:33:41 +0800 Subject: [PATCH] Update ch07-xray-server.md --- docs/en/document/level-0/ch07-xray-server.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/en/document/level-0/ch07-xray-server.md b/docs/en/document/level-0/ch07-xray-server.md index 2df3407..81f97e8 100644 --- a/docs/en/document/level-0/ch07-xray-server.md +++ b/docs/en/document/level-0/ch07-xray-server.md @@ -122,7 +122,8 @@ chmod +r ~/xray_cert/xray.key In addition, when recording animated images, the script did not include a command to restart `Xray` because `Xray` plans to support the [Certificate Hot Update] function, which means that `Xray` will automatically identify certificate updates and reload certificates without manual restart. After the function is added, I will modify `config.json` appropriately to enable this setting and delete the restart command in the script. - ::: 4. Add [executable] permissions to this file + ::: + 4. Add [executable] permissions to this file ``` chmod +x ~/xray_cert/xray-cert-renew.sh @@ -176,13 +177,14 @@ First, you can refer to the [official VLESS configuration example](https://githu ::: warning This location is not the standard log file location of `Xray`. It is placed here to avoid permission issues that cause trouble for new users. Once you are familiar with it, it is recommended to return to the default location: `/var/log/xray/access.log` and `/var/log/xray/error.log`. - ::: 4. Because Xray is used by the nobody user by default, we need to allow other users to have "write" permissions (`*.log` means all files with the suffix `log`, and the efficiency advantage of the `CLI` interface gradually appears at this time) + ::: + 4. Because Xray is used by the nobody user by default, we need to allow other users to have "write" permissions (`*.log` means all files with the suffix `log`, and the efficiency advantage of the `CLI` interface gradually appears at this time) ```shell chmod a+w ~/xray_log/*.log ``` -3. Use `nano` to create the configuration file of `Xray` +4. Use `nano` to create the configuration file of `Xray` ```shell sudo nano /usr/local/etc/xray/config.json