xhttp + reality
This commit is contained in:
+7
-4
@@ -18,7 +18,7 @@
|
|||||||
"tag": "proxy",
|
"tag": "proxy",
|
||||||
"protocol": "vless",
|
"protocol": "vless",
|
||||||
"settings": {
|
"settings": {
|
||||||
"address": "nginx",
|
"address": "xray-server",
|
||||||
"port": 443,
|
"port": 443,
|
||||||
"id": "bc95a789-4dcb-42ae-8d01-ca1dc41d9a33",
|
"id": "bc95a789-4dcb-42ae-8d01-ca1dc41d9a33",
|
||||||
"encryption": "none",
|
"encryption": "none",
|
||||||
@@ -30,10 +30,13 @@
|
|||||||
"mode": "auto",
|
"mode": "auto",
|
||||||
"path": "/trapdoor"
|
"path": "/trapdoor"
|
||||||
},
|
},
|
||||||
"security": "tls",
|
"security": "reality",
|
||||||
"tlsSettings": {
|
"realitySettings": {
|
||||||
"serverName": "nginx",
|
"serverName": "nginx",
|
||||||
"allowInsecure": true
|
"publicKey": "Cdc5-NYobJrn-aubIH4rCdV8_JuMvb29gEh39jR7MmI",
|
||||||
|
"shortId": "01",
|
||||||
|
"spiderX": "/fhtdjgu",
|
||||||
|
"fingerprint": "ios"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
+12
-2
@@ -5,7 +5,7 @@
|
|||||||
"inbounds": [
|
"inbounds": [
|
||||||
{
|
{
|
||||||
"listen": "0.0.0.0",
|
"listen": "0.0.0.0",
|
||||||
"port": 8080,
|
"port": 443,
|
||||||
"protocol": "vless",
|
"protocol": "vless",
|
||||||
"settings": {
|
"settings": {
|
||||||
"clients": [
|
"clients": [
|
||||||
@@ -23,7 +23,17 @@
|
|||||||
"mode": "auto",
|
"mode": "auto",
|
||||||
"path": "/trapdoor"
|
"path": "/trapdoor"
|
||||||
},
|
},
|
||||||
"security": "none"
|
"security": "reality",
|
||||||
|
"realitySettings": {
|
||||||
|
"target": "nginx:443",
|
||||||
|
"serverNames": [
|
||||||
|
"nginx"
|
||||||
|
],
|
||||||
|
"privateKey": "6ATHL0mR5r1oKUwPxcAifxGH9yLSNP-8bbY6QOL643I",
|
||||||
|
"shortIds": [
|
||||||
|
"01"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -29,6 +29,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./config/server.json:/etc/xray/config.json:ro
|
- ./config/server.json:/etc/xray/config.json:ro
|
||||||
command: run -c /etc/xray/config.json
|
command: run -c /etc/xray/config.json
|
||||||
|
ports:
|
||||||
|
- 127.0.0.1:1443:443
|
||||||
|
|
||||||
xray-client:
|
xray-client:
|
||||||
image: ghcr.io/xtls/xray-core:latest
|
image: ghcr.io/xtls/xray-core:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user