Add or renamed to json in codeblock (#748)

and sth

Co-authored-by: Meow <197331664+Meo597@users.noreply.github.com>
This commit is contained in:
风扇滑翔翼
2025-10-06 15:33:04 +00:00
committed by GitHub
co-authored by Meow
parent ec8907c912
commit 7ba3e70f10
10 changed files with 35 additions and 35 deletions
+2 -2
View File
@@ -150,7 +150,7 @@ You can specify `clientIp` for all DNS servers in [DnsObject](#dnsobject), or sp
Xray-core v1.8.6 New feature: `queryStrategy` can be set separately for each `DNS` server.
```jsonc
```json
"dns": {
"servers": [
"https://1.1.1.1/dns-query",
@@ -178,7 +178,7 @@ Xray-core v1.8.6 New feature: `queryStrategy` can be set separately for each `DN
**NOTE:**<br>
When the `"queryStrategy"` value in the child item conflicts with the global `"queryStrategy"` value, the query for the child item will respond null.
```jsonc
```json
"dns": {
"servers": [
"https://1.1.1.1/dns-query",
+1 -1
View File
@@ -20,7 +20,7 @@ This tag can be used as `inboundTag` in routing rules, all traffics going throug
If you need to do some more detailed routing for traffics that have been routed by routing rules, like splitting routed traffics to TCP traffics and UDP traffics and send them to different outbounds, this can be done with `loopback` outbound.
```jsonc
```json
{
"outbounds": [
{
+1 -1
View File
@@ -84,7 +84,7 @@ When the destination address is a domain name, use the Xray-core [built-in DNS s
- Conflicts with `"queryStrategy"` may cause the site to fail to open.
- For example when `domainStrategy: "ForceIPv4"` is used, geosite:openai's site with `"queryStrategy": "UseIPv6"` will fail to open.
```jsonc
```json
"dns": {
"servers": [
"https://1.1.1.1/dns-query",
@@ -104,7 +104,7 @@ WantedBy=multi-user.target
服务端 xray 配置
```
```json
{
"log": {
"loglevel": "none"
@@ -143,7 +143,7 @@ WantedBy=multi-user.target
客户端 xray 配置,此处以旁路由透明代理为例
```
```json
{
"log": {
"loglevel": "none"