Create config_server.json

This commit is contained in:
Rakau 2020-11-14 19:44:29 +08:00 committed by GitHub
parent 3e7106e67d
commit 03dd59c01d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,58 @@
{
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"listen": "127.0.0.1", //
"port": 8080,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "", // UUID
"flow": "xtls-rprx-direct",
"level": 0,
"email": "love@v2fly.org"
}
],
"decryption": "none",
"fallbacks": [
{
"dest": 80, // Nginx Web
"xver": 1
},
{
"alpn": "h2",
"dest": 80,
"xver": 1
}
]
},
"streamSettings": {
"network": "tcp",
"tcpSettings": {
"acceptProxyProtocol": true // IP
},
"security": "xtls",
"xtlsSettings": {
"alpn": [
"h2",
"http/1.1"
],
"certificates": [
{
"certificateFile": "/path/to/fullchain.crt", //
"keyFile": "/path/to/private.key"
}
]
}
}
}
],
"outbounds": [
{
"protocol": "freedom"
}
]
}