├── .gitignore ├── CHANGELOG.md ├── MANIFEST.in ├── README.md ├── nginx_sites ├── __init__.py ├── colorize.py ├── nginx_sites.py └── templates │ ├── apache.conf │ ├── laravel-php5.conf │ ├── laravel-php7.conf │ ├── node.conf │ ├── php.conf │ ├── python.conf │ └── static.conf └── setup.py /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | .*swp 3 | dist 4 | build 5 | .ropeproject 6 | *.egg-info/ 7 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## 0.1.4 2 | 3 | * auto sudo on permission denied 4 | * add `templates`, `templates-show` 5 | 6 | ## 0.1.3 7 | 8 | * add template for laravel by @joaosalless 9 | 10 | ## 0.1.2 11 | 12 | * add `static` template 13 | * add `reconfig` 14 | 15 | ## 0.1.1 16 | 17 | * no longer needs blessing 18 | * `--path` renamed to `--root` 19 | -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include nginx_sites/templates/*.conf 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # nginx-sites 2 | 3 | cli utility for managing nginx vhost configs 4 | 5 | install using pip 6 | ```sh 7 | pip install nginx-sites 8 | ``` 9 | 10 | ## usage 11 | 12 | ```sh 13 | ngx ls 14 | ngx enable 15 | ngx disable 16 | ngx new [--path=] [--template=