recipiez 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/recipes/nginx.rb +5 -0
- data/recipes/templates/nginx_node.erb +1 -1
- data/recipiez.gemspec +1 -1
- metadata +3 -3
data/recipes/nginx.rb
CHANGED
@@ -26,6 +26,11 @@ Capistrano::Configuration.instance(true).load do
|
|
26
26
|
|
27
27
|
desc "Generates a simple proxy configuration for a nodejs application"
|
28
28
|
task :nodejs do
|
29
|
+
|
30
|
+
unless exists? :node_port
|
31
|
+
set :node_port, 3000
|
32
|
+
end
|
33
|
+
|
29
34
|
put render("nginx_node", binding), "#{application}.conf"
|
30
35
|
sudo "mv #{application}.conf /etc/nginx/sites-available/#{application}.conf"
|
31
36
|
begin
|
data/recipiez.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recipiez
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alastair Brunton
|