Rocketx is a simple and quick configuration NGINX.
WARNING: use at your own risk π
$ git clone https://github.com/T568A/Rocketx.git
$ cd Rocketx
$ chmod +x rocketx.php
Edit config file
$ sudo ./rocketx.php -d example.com -t example.tmp
or
$ sudo ./rocketx.php
Enter Domain (example.com):
Enter Template (example.tmp):
$ ./rocketx.php -l
yii2.tmp
example.tmp
$ journalctl -b -p err
...
Nov 18 15:27:08 webserver php[7664]: Rocketx: Template not found!(getNginxConfig)
or
$ tail -f /var/log/rocketx.log
...
2016-11-18 15:27:08: Template not found!(getNginxConfig)
$ ./rocketx.php -h
-t --template Set Name template NGINX
-d --domain Set Domain Name Site
-l --list Get template files
-h --help Get help