feat(modules): retrieve nginx modules status

This commit is contained in:
Jacky 2025-05-09 10:24:45 +00:00
parent 5b0cbf98e1
commit adf6f80061
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
12 changed files with 292 additions and 34 deletions

View file

@ -104,7 +104,7 @@ var selfCheckTasks = []*Task{
var selfCheckTaskMap = orderedmap.NewOrderedMap[string, *Task]()
func init() {
func Init() {
if nginx.IsModuleLoaded(nginx.ModuleStream) {
selfCheckTasks = append(selfCheckTasks, &Task{
Key: "Directory-Streams",