mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-08-22 19:38:36 +00:00
Merge d7c00f04c6
into 848c3265ca
This commit is contained in:
commit
435fd40f91
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
|
4
.github/workflows/prettier.yml
vendored
4
.github/workflows/prettier.yml
vendored
@ -12,12 +12,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
if: github.event.pull_request.head.repo.full_name == 'XTLS/Xray-docs-next'
|
if: github.event.pull_request.head.repo.full_name == 'XTLS/Xray-docs-next'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
if: github.event.pull_request.head.repo.full_name != 'XTLS/Xray-docs-next'
|
if: github.event.pull_request.head.repo.full_name != 'XTLS/Xray-docs-next'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
- name: Prettify code
|
- name: Prettify code
|
||||||
|
@ -122,8 +122,7 @@ 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
|
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.
|
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
|
chmod +x ~/xray_cert/xray-cert-renew.sh
|
||||||
@ -177,8 +176,7 @@ First, you can refer to the [official VLESS configuration example](https://githu
|
|||||||
|
|
||||||
::: warning
|
::: 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`.
|
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
|
```shell
|
||||||
chmod a+w ~/xray_log/*.log
|
chmod a+w ~/xray_log/*.log
|
||||||
|
Loading…
Reference in New Issue
Block a user