trojan-config.json.j2 437 B

123456789101112131415161718
  1. {
  2. "run_type": "server",
  3. "local_addr": "0.0.0.0",
  4. "local_port": {{ trojan_port }},
  5. "remote_addr": "127.0.0.1",
  6. "remote_port": {{ trojan_fallback_port }},
  7. "password": [
  8. "{{ trojan_password }}"
  9. ],
  10. "ssl": {
  11. "cert": "/etc/trojan-go/tls/fullchain.pem",
  12. "key": "/etc/trojan-go/tls/privkey.pem",
  13. "sni": "{{ trojan_domain }}"
  14. },
  15. "router": {
  16. "enabled": false
  17. }
  18. }