refactor: реорганизация структуры проекта на логические папки
- Созданы директории: docker/, scripts/, config/ - Перемещены файлы Docker (Dockerfile, entrypoint.sh) в docker/ - Перемещены утилитарные скрипты в scripts/ - Шаблон конфигурации перенесен в config/ - Веб-сервер перемещен в web/ и переименован в server.py - Обновлены пути в docker-compose.yml, Dockerfile и entrypoint.sh
This commit is contained in:
52
config/client.template.json
Normal file
52
config/client.template.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"log": {
|
||||
"level": "info",
|
||||
"timestamp": true
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"type": "mixed",
|
||||
"tag": "mixed-in",
|
||||
"listen": "0.0.0.0",
|
||||
"listen_port": 8082,
|
||||
"sniff": true,
|
||||
"sniff_override_destination": true
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"type": "vless",
|
||||
"tag": "__TAG__",
|
||||
"server": "__SERVER__",
|
||||
"server_port": 0,
|
||||
"uuid": "__UUID__",
|
||||
"flow": "",
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "__SNI__",
|
||||
"utls": {
|
||||
"enabled": true,
|
||||
"fingerprint": "__FINGERPRINT__"
|
||||
},
|
||||
"reality": {
|
||||
"enabled": true,
|
||||
"public_key": "__PUBLIC_KEY__",
|
||||
"short_id": "__SHORT_ID__"
|
||||
}
|
||||
},
|
||||
"packet_encoding": "xudp"
|
||||
},
|
||||
{
|
||||
"type": "direct",
|
||||
"tag": "direct"
|
||||
},
|
||||
{
|
||||
"type": "block",
|
||||
"tag": "block"
|
||||
}
|
||||
],
|
||||
"route": {
|
||||
"final": "__TAG__",
|
||||
"auto_detect_interface": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user