add plain text WIP
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"log": {
|
||||
"level": "debug"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"type": "mixed",
|
||||
"tag": "mixed-in",
|
||||
"listen": "127.0.0.1",
|
||||
"listen_port": 1080
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"type": "obfhttp",
|
||||
"tag": "obfhttp-out",
|
||||
"server": "127.0.0.1",
|
||||
"server_port": 8443,
|
||||
"path": "/api/v1/query",
|
||||
"username": "testuser",
|
||||
"password": "testpass",
|
||||
"encryption": {
|
||||
"method": "aes-256-gcm",
|
||||
"password": "my-secret-key"
|
||||
},
|
||||
"encoding": "base64",
|
||||
"long_poll_timeout": "3s"
|
||||
},
|
||||
{
|
||||
"type": "direct",
|
||||
"tag": "direct"
|
||||
}
|
||||
],
|
||||
"route": {
|
||||
"rules": [
|
||||
{
|
||||
"inbound": "mixed-in",
|
||||
"outbound": "obfhttp-out"
|
||||
}
|
||||
],
|
||||
"final": "direct"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"log": {
|
||||
"level": "debug"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"type": "obfhttp",
|
||||
"tag": "obfhttp-in",
|
||||
"listen": "::",
|
||||
"listen_port": 8443,
|
||||
"path": "/api/v1/query",
|
||||
"users": [
|
||||
{
|
||||
"username": "testuser",
|
||||
"password": "testpass"
|
||||
}
|
||||
],
|
||||
"encryption": {
|
||||
"method": "aes-256-gcm",
|
||||
"password": "my-secret-key"
|
||||
},
|
||||
"encoding": "base64",
|
||||
"session_timeout": "60s",
|
||||
"long_poll_timeout": "30s"
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"type": "direct",
|
||||
"tag": "direct"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user