Skip to content

Ethan-Zhang/ncebs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ncebs

Nginx Configure Edit and Boot System

#Usage

python ncebs/ncebs/bin/ncebs-api.py --nginx_conf_path=xxxx --nginx_bin_path=xxx --db_driver=db

#Service API index domain

GET /domains/{domain}/{name}
response json
{
  "domains":[
    {
      "ip":"192.168.0.1",
      "port":"8080",
      "name":"test"
    },
    ...
  ]
}

create domain

POST /domains/{domain}/{name}
request json
{
  "ip":"192.168.0.1",
  "port":"8080"
}

edit domain

PUT /domains/{domain}/{id}
request json
{
  "ip":
  "name":
  "port":
}

delete domain

DELETE /domains/{domain}/{id}

#Thanks Thanks for xyz_ to give many suggestions of the project.

About

Nginx Configure Edit and Boot System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published