Updated: config

This commit is contained in:
asskicker0214 2024-01-17 23:13:42 +08:00
parent 5aa8c403ae
commit a9ecbd2eb7
3 changed files with 4 additions and 28 deletions

View File

@ -12,5 +12,9 @@
"key": "/etc/letsencrypt/live/out.homemade.net.cn/privkey.pem", "key": "/etc/letsencrypt/live/out.homemade.net.cn/privkey.pem",
"fallback_addr": "app", "fallback_addr": "app",
"fallback_port": 6080 "fallback_port": 6080
},
"websocket": {
"enabled": true,
"path": "/trojan"
} }
} }

View File

@ -1,13 +0,0 @@
{
"run_type": "client",
"local_addr": "127.0.0.1",
"local_port": 1081,
"remote_addr": "out.homemade.net.cn",
"remote_port": 6443,
"password": [
"J/f6m2X8-q4P"
],
"ssl": {
"sni": "out.homemade.net.cn"
}
}

View File

@ -1,15 +0,0 @@
version: '3'
services:
trojan-client:
image: teddysun/trojan-go:2023.11.18
restart: unless-stopped
volumes:
- ./config.json:/etc/trojan-go/config.json
networks:
- shared_network
ports:
- 1081:1081
networks:
shared_network:
driver: bridge