mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 10:55:51 +02:00
feat(cluster): add reload and restart for nginx
This commit is contained in:
parent
c086455772
commit
2d437ff0cc
24 changed files with 2897 additions and 1239 deletions
|
@ -17,6 +17,9 @@ func InitRouter(r *gin.RouterGroup) {
|
|||
// Node
|
||||
r.GET("node", GetCurrentNode)
|
||||
|
||||
r.POST("environments/reload_nginx", ReloadNginx)
|
||||
r.POST("environments/restart_nginx", RestartNginx)
|
||||
|
||||
r.GET("env_groups", GetGroupList)
|
||||
r.GET("env_groups/:id", GetGroup)
|
||||
r.POST("env_groups", AddGroup)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue