lib/fdlcap/recipes/nginx.rb in factorylabs-fdlcap-0.2.2 vs lib/fdlcap/recipes/nginx.rb in factorylabs-fdlcap-0.2.3

- old
+ new

@@ -72,10 +72,10 @@ desc "Setup Nginx.config" task :conf, :roles => :web do if can_configure_nginx - result = render_erb_template(File.join(File.dirname(__FILE__),'..','templates','nginx.conf.erb') + result = render_erb_template(File.join(File.dirname(__FILE__),'..','templates','nginx.conf.erb')) put result, "/tmp/nginx.conf" sudo "cp /tmp/nginx.conf /etc/nginx/nginx.conf" else inform "Nginx configuration tasks have been disabled. Most likely you are deploying to engineyard which has it's own nginx conf setup." \ No newline at end of file