ngman
A simple CLI tool for managing nginx sites.
Will create a TOML file to reflect the current site setup.
Only supports these basic operations:
- Create a new site with a specified domain name
- Add a static resource location
- Add a reverse proxy location
- Call a custom command for SSL certificate generation
- Call a custom command after updating the nginx config (for reloading nginx)
Well, actually, you can also list all sites and delete a site. This has been created because I was too lazy to spend more time investigating, if someone else already wrote something like it.
- Written in go
- Small and simple
- Easy to extend
- Template is a simple txt file
That’s all folks.