mirror of https://github.com/1Panel-dev/1Panel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.0 KiB
44 lines
1.0 KiB
package response
|
|
|
|
import (
|
|
"github.com/1Panel-dev/1Panel/backend/app/model"
|
|
)
|
|
|
|
type WebsiteDTO struct {
|
|
model.Website
|
|
ErrorLogPath string `json:"errorLogPath"`
|
|
AccessLogPath string `json:"accessLogPath"`
|
|
SitePath string `json:"sitePath"`
|
|
}
|
|
|
|
type WebsitePreInstallCheck struct {
|
|
Name string `json:"name"`
|
|
Status string `json:"status"`
|
|
Version string `json:"version"`
|
|
AppName string `json:"appName"`
|
|
}
|
|
|
|
type WebsiteNginxConfig struct {
|
|
Enable bool `json:"enable"`
|
|
Params []NginxParam `json:"params"`
|
|
}
|
|
|
|
type WebsiteWafConfig struct {
|
|
Enable bool `json:"enable"`
|
|
FilePath string `json:"filePath"`
|
|
Content string `json:"content"`
|
|
}
|
|
|
|
type WebsiteHTTPS struct {
|
|
Enable bool `json:"enable"`
|
|
HttpConfig string `json:"httpConfig"`
|
|
SSL model.WebsiteSSL `json:"SSL"`
|
|
SSLProtocol []string `json:"SSLProtocol"`
|
|
Algorithm string `json:"algorithm"`
|
|
}
|
|
|
|
type WebsiteLog struct {
|
|
Enable bool `json:"enable"`
|
|
Content string `json:"content"`
|
|
}
|