Skip to content

☁️ 二进制部署

systemd 服务

/etc/systemd/system/go-icp.service

ini
[Unit]
Description=go-icp HTTP API
After=network.target

[Service]
ExecStart=/usr/local/bin/go-icp serve --addr :8080
Environment=ZHUDUN_KEY_1=xxx
Restart=on-failure

[Install]
WantedBy=multi-user.target
bash
systemctl enable --now go-icp

反向代理

建议前置 Nginx,做 TLS 终止与限速。

📚 延伸阅读

Released under the MIT License.