This is a creation in Article, where the information may have evolved or changed.
Nginxconf
Web page free configuration nginx virtual Host
The project is based on the Golang Beego Web framework to implement the function of creating a new Nginx proxy configuration file and automatically invoking the Nginx reload command temporarily without implementing the Delete profile command
Application Scenarios
Nginx need to implement proxy access to multiple hosts, operators need not understand nginx configuration only need to click on the Web page mouse can be multiple Golang applications in the server background running in the non-80 port, nginx more different domain name Agent access to different Golang applications
What can be done after the transformation?
Add more nginx configuration template, can achieve load balancing, automatic configuration of virtual host and other advanced nginx features Nginx configuration template for Nginxconf/template/domainlocalconf.tpl
The project uses Help
Because I compiled on the windows, temporarily did not find the cross-compiling SQLite to Linux method, the program's data stored in SQLite, although I compiled a Linux environment 32-bit compiled files, but because Oschina will not be uploaded. After running successfully enter user name Admin password adminpwd, if need change password please change user = admin pwd = adminpwd in/conf/app.conf config file
The library used by the project
Beego "Github.com/astaxie/beego" Go-sh "Github.com/codeskyblue/go-sh"