Just a tool for deploying local documentation server, it help me to configure virtual host server for static website using nginx
- clone this repository
- run
go build
- copy/move binary to /usr/local/bin
sudo mv clinx /usr/local/bin
- run command with sudo
sudo clinx -d=example.com.local -f=folderNameContainStaticFiles
- run command with sudo
sudo clinx -r=example.com.local
- /etc/hosts
- /usr/share/nginx/
- /etc/nginx/sites-available/
- /etc/nginx/sites-enabled/