lib/magic_recipes/nginx.rb in magic_recipes-0.0.14 vs lib/magic_recipes/nginx.rb in magic_recipes-0.0.15
- old
+ new
@@ -1,6 +1,20 @@
# encoding: utf-8
module MagicRecipes
+ # Nginx - Deploy-Recipes
+ #
+ # Tasks:
+ # :install # => Install latest stable release of nginx
+ # :setup # => Setup nginx configuration for this application
+ # :start # => start nginx-server
+ # :stop # => stop nginx-server
+ # :restart # => setup, stop, start nginx-server
+ #
+ # Callbacks:
+ # after "deploy:install", "nginx:install"
+ # after "deploy:setup", "nginx:setup"
+ # after "deploy", "nginx:restart"
+ #
module Nginx
def self.load_into(configuration)
configuration.load do
set_default :rails_server, 'thin'