enhance: removed the ability to modify nginx log path settings online

This commit is contained in:
Jacky 2024-10-08 10:27:20 +08:00
parent abd76ff930
commit 27f751671b
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
4 changed files with 9 additions and 8 deletions

View file

@ -1,8 +1,8 @@
package settings
type Nginx struct {
AccessLogPath string `json:"access_log_path" binding:"omitempty,file"`
ErrorLogPath string `json:"error_log_path" binding:"omitempty,file"`
AccessLogPath string `json:"access_log_path" protected:"true"`
ErrorLogPath string `json:"error_log_path" protected:"true"`
ConfigDir string `json:"config_dir" protected:"true"`
PIDPath string `json:"pid_path" protected:"true"`
TestConfigCmd string `json:"test_config_cmd" protected:"true"`