补齐Nginx辅助服务安全初始化与部署模板

This commit is contained in:
xuans committed 2026-09-20 02:29:36 +08:00
1 parent aa5d669db1
commit d8b4850916
13 files changed
+593 -4

No files matched your search

+5
View File
@@ -284,6 +284,10 @@ foreach ($requiredDeploymentFile in @(
"README.md",
"systemd\Scert.service",
"systemd\Scert-admin.service",
"systemd\scert-nginx.socket",
"systemd\scert-nginx.service",
"nginx\policy.json.example",
"nginx\Nginx辅助服务部署说明.md",
"systemd\Scert服务管理说明.md",
"systemd\Scert-admin服务管理说明.md"
)) {
@@ -394,6 +398,7 @@ try {
if ($goos -eq "linux") {
Copy-Item -LiteralPath (Join-Path $deploy "install-linux.sh") -Destination (Join-Path $targetDirectory "install-linux.sh")
Copy-Item -LiteralPath (Join-Path $deploy "systemd") -Destination (Join-Path $targetDirectory "systemd") -Recurse
Copy-Item -LiteralPath (Join-Path $deploy "nginx") -Destination (Join-Path $targetDirectory "nginx") -Recurse
}
else {
Copy-Item -LiteralPath (Join-Path $deploy "install-windows.ps1") -Destination (Join-Path $targetDirectory "install-windows.ps1")