mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
refactor: casdoor settings
This commit is contained in:
parent
ed72b67300
commit
37fa8b899f
12 changed files with 1827 additions and 544 deletions
16
settings/nginx.go
Normal file
16
settings/nginx.go
Normal file
|
@ -0,0 +1,16 @@
|
|||
package settings
|
||||
|
||||
type Nginx struct {
|
||||
AccessLogPath string `json:"access_log_path"`
|
||||
ErrorLogPath string `json:"error_log_path"`
|
||||
ConfigDir string `json:"config_dir"`
|
||||
PIDPath string `json:"pid_path"`
|
||||
TestConfigCmd string `json:"test_config_cmd"`
|
||||
ReloadCmd string `json:"reload_cmd"`
|
||||
RestartCmd string `json:"restart_cmd"`
|
||||
}
|
||||
|
||||
var NginxSettings = Nginx{
|
||||
AccessLogPath: "",
|
||||
ErrorLogPath: "",
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue