Nginx::Config
Gem contains a generator to create virtual hosts config unicorn instance for server nginx
Installation
Add this line to your application's Gemfile:
gem 'nginx-config'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install nginx-config
Usage
run rails generate nginx_unicorn_vhost <server_name> <site_domain>
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request