Project

vlad-nginx

0.0
No commit activity in last 3 years
No release in over 3 years
NGiNX recipe for Vlad the Deployer
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

~> 2
 Project Readme

NGiNX recipe for Vlad the Deployer

Install

gem install vlad-nginx

Usage

Vlad.load :app => :unicorn, :scm => :git, :web => :nginx

Configuration

You specify the path to the NGiNX command by setting :web_command:

set :web_command, "/path/to/nginx"

Need sudo?

As I am writing this, both Vlads’ built-in apache recipe and vlad-nginx use run to run the remote commands. This means you need to do some trickery in order to have run your command under sudo:

Vlad.load :web => :nginx

set :run_as_sudo, [sudo_cmd, sudo_flags].flatten.compact.join(' ')
set :web_command, "#{run_as_sudo} /path/to/nginx"

Contributions