1Panel/backend/constant/website.go

49 lines
849 B
Go
Raw Normal View History

2022-10-28 17:04:57 +08:00
package constant
const (
WebRunning = "Running"
WebStopped = "Stopped"
DateLayout = "2006-01-02"
DateTimeLayout = "2006-01-02 15:04:05"
DefaultDate = "1970-01-01"
2022-11-21 11:27:56 +08:00
ProtocolHTTP = "HTTP"
ProtocolHTTPS = "HTTPS"
2022-12-12 15:36:45 +08:00
2022-12-13 17:20:13 +08:00
NewApp = "new"
InstalledApp = "installed"
2022-12-12 15:36:45 +08:00
Deployment = "deployment"
Static = "static"
Proxy = "proxy"
Runtime = "runtime"
2022-12-13 17:20:13 +08:00
SSLExisted = "existed"
SSLAuto = "auto"
SSLManual = "manual"
2022-12-14 15:26:51 +08:00
DNSAccount = "dnsAccount"
DnsManual = "dnsManual"
Http = "http"
Manual = "manual"
2022-12-26 16:09:21 +08:00
StartWeb = "start"
StopWeb = "stop"
2022-12-28 16:07:43 +08:00
HTTPSOnly = "HTTPSOnly"
HTTPAlso = "HTTPAlso"
HTTPToHTTPS = "HTTPToHTTPS"
2022-12-30 17:39:17 +08:00
GetLog = "get"
DisableLog = "disable"
EnableLog = "enable"
DeleteLog = "delete"
2022-12-30 17:39:17 +08:00
AccessLog = "access.log"
ErrorLog = "error.log"
ConfigPHP = "php"
ConfigFPM = "fpm"
2022-12-12 15:36:45 +08:00
)