Files
memind/ops/wechat-egress-proxy-105.service
john e5cbe80644 feat(wechat): widen 105 egress proxy to /cgi-bin/* and add egress fetch helper
The proxy now forwards any api.weixin.qq.com/cgi-bin/* path (drafts, material
upload, etc.), binds to the 10.10.0.1 tunnel address, and uses a 120s timeout.
wechat-egress-fetch.mjs rewrites WeChat API URLs to the egress base when
MEMIND_WECHAT_EGRESS_BASE_URL is set.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 10:07:32 +08:00

16 lines
328 B
Desktop File

[Unit]
Description=TKMind WeChat MP egress proxy
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
Environment=WECHAT_EGRESS_HOST=10.10.0.1
Environment=WECHAT_EGRESS_PORT=19090
ExecStart=/usr/bin/python3 /root/wechat_egress_proxy.py
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target