mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 10:17:17 +08:00
feat: 优化网站启停
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user