add plain text WIP

This commit is contained in:
InkerBot
2026-04-25 09:04:39 +08:00
parent 710a058b4a
commit 966bbeecef
12 changed files with 1383 additions and 7 deletions
+43
View File
@@ -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"
}
}
+33
View File
@@ -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"
}
]
}