From 48d10fefde257d3faeab65f733427390980c41f3 Mon Sep 17 00:00:00 2001 From: xuans Date: Thu, 1 Oct 2026 16:23:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E6=95=9B=E5=8F=8D=E5=90=91=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E6=9C=8D=E5=8A=A1=E7=9B=91=E5=90=AC=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将 Scert 服务默认监听地址固定为本机回环地址,配合 Nginx 提供外部 80/443 访问。 --- deploy/systemd/Scert.service | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/systemd/Scert.service b/deploy/systemd/Scert.service index c12d61d..95010d7 100644 --- a/deploy/systemd/Scert.service +++ b/deploy/systemd/Scert.service @@ -13,6 +13,7 @@ Group=Scert WorkingDirectory=/scert ExecStart=/scert/scert --config /scert/conf/scert.json serve Environment=SCERT_BOOTSTRAP_FIREWALL_MODE=external +Environment=SCERT_SERVER_HOST=127.0.0.1 KillSignal=SIGTERM TimeoutStopSec=30 Restart=on-failure