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:
2026-01-26 18:39:23 +08:00
parent c4f6dd0be2
commit 9fce7323a6
3 changed files with 43 additions and 2 deletions

View File

@@ -71,6 +71,8 @@ type WebsiteUpdate struct {
Redirects []types.Redirect `json:"redirects"`
// 高级设置
AccessLog string `json:"access_log"` // 访问日志路径
ErrorLog string `json:"error_log"` // 错误日志路径
RateLimit *types.RateLimit `json:"rate_limit"` // 限流限速配置
RealIP *types.RealIP `json:"real_ip"` // 真实 IP 配置
BasicAuth map[string]string `json:"basic_auth"` // 基本认证配置