2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 10:17:17 +08:00

feat: 优化网站启停

This commit is contained in:
2025-12-03 21:37:13 +08:00
parent 9bd08fcb37
commit e1f0a7d04f
7 changed files with 86 additions and 100 deletions

View File

@@ -1,13 +1,10 @@
package apache
// DisableConfName 禁用配置文件名
const DisableConfName = "000-disable.conf"
// DisablePagePath 禁用页面路径
const DisablePagePath = "/opt/ace/server/apache/stop"
// DisableConfContent 禁用配置内容
const DisableConfContent = `# 网站已停止
RewriteEngine on
RewriteRule ^.*$ - [R=503,L]
`
// SitesPath 网站目录
const SitesPath = "/opt/ace/sites"
// 配置文件序号范围
const (