mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-08-22 19:38:36 +00:00
Attampt to fix prettier format
This commit is contained in:
parent
f5dd51a772
commit
d8459e1fae
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '16'
|
node-version: "16"
|
||||||
- name: Get yarn cache directory path
|
- name: Get yarn cache directory path
|
||||||
id: yarn-cache-dir-path
|
id: yarn-cache-dir-path
|
||||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||||
|
@ -43,10 +43,7 @@ Xray 内置的 DNS 模块,主要有两大用途:
|
|||||||
"dns": {
|
"dns": {
|
||||||
"hosts": {
|
"hosts": {
|
||||||
"baidu.com": "127.0.0.1",
|
"baidu.com": "127.0.0.1",
|
||||||
"dns.google":[
|
"dns.google": ["8.8.8.8", "8.8.4.4"]
|
||||||
"8.8.8.8",
|
|
||||||
"8.8.4.4"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"servers": [
|
"servers": [
|
||||||
"8.8.8.8",
|
"8.8.8.8",
|
||||||
|
@ -71,7 +71,7 @@ Shadowsocks 2022 新协议格式提升了性能并带有完整的重放保护,
|
|||||||
使用 `openssl rand -base64 <长度>` 以生成与 shadowsocks-rust 兼容的密钥,长度取决于所使用的加密方法。
|
使用 `openssl rand -base64 <长度>` 以生成与 shadowsocks-rust 兼容的密钥,长度取决于所使用的加密方法。
|
||||||
|
|
||||||
| 加密方法 | 密钥长度 |
|
| 加密方法 | 密钥长度 |
|
||||||
|-------------------------------|-----:|
|
| ----------------------------- | -------: |
|
||||||
| 2022-blake3-aes-128-gcm | 16 |
|
| 2022-blake3-aes-128-gcm | 16 |
|
||||||
| 2022-blake3-aes-256-gcm | 32 |
|
| 2022-blake3-aes-256-gcm | 32 |
|
||||||
| 2022-blake3-chacha20-poly1305 | 32 |
|
| 2022-blake3-chacha20-poly1305 | 32 |
|
||||||
|
@ -87,7 +87,7 @@ Shadowsocks 服务端端口。必填。
|
|||||||
使用 `openssl rand -base64 <长度>` 以生成与 shadowsocks-rust 兼容的密钥,长度取决于所使用的加密方法。
|
使用 `openssl rand -base64 <长度>` 以生成与 shadowsocks-rust 兼容的密钥,长度取决于所使用的加密方法。
|
||||||
|
|
||||||
| 加密方法 | 密钥长度 |
|
| 加密方法 | 密钥长度 |
|
||||||
|-------------------------------|-----:|
|
| ----------------------------- | -------: |
|
||||||
| 2022-blake3-aes-128-gcm | 16 |
|
| 2022-blake3-aes-128-gcm | 16 |
|
||||||
| 2022-blake3-aes-256-gcm | 32 |
|
| 2022-blake3-aes-256-gcm | 32 |
|
||||||
| 2022-blake3-chacha20-poly1305 | 32 |
|
| 2022-blake3-chacha20-poly1305 | 32 |
|
||||||
|
@ -42,10 +42,7 @@ DNS 服务器的处理流程示意图如下:
|
|||||||
"dns": {
|
"dns": {
|
||||||
"hosts": {
|
"hosts": {
|
||||||
"baidu.com": "127.0.0.1",
|
"baidu.com": "127.0.0.1",
|
||||||
"dns.google":[
|
"dns.google": ["8.8.8.8", ""]
|
||||||
"8.8.8.8",
|
|
||||||
""
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"servers": [
|
"servers": [
|
||||||
"8.8.8.8",
|
"8.8.8.8",
|
||||||
|
@ -4,7 +4,5 @@
|
|||||||
"target": "esnext",
|
"target": "esnext",
|
||||||
"sourceMap": true
|
"sourceMap": true
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": ["node_modules"]
|
||||||
"node_modules"
|
|
||||||
]
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user