recipiez 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/recipiez/version.rb +1 -1
- data/recipes/templates/nginx_node.erb +19 -24
- metadata +67 -40
data/lib/recipiez/version.rb
CHANGED
|
@@ -26,31 +26,26 @@ server {
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
<% if ssl == 'on' %>
|
|
29
|
+
# https server definition, remember only one https site per IP
|
|
29
30
|
|
|
30
31
|
server {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
proxy_redirect off;
|
|
32
|
+
listen 443;
|
|
33
|
+
ssl on;
|
|
34
|
+
|
|
35
|
+
ssl_certificate <%= ssl_cert %>;
|
|
36
|
+
ssl_certificate_key <%= ssl_key %>;
|
|
37
|
+
|
|
38
|
+
access_log /var/log/nginx/<%= application %>.log;
|
|
39
|
+
error_log /var/log/nginx/<%= application %>.log;
|
|
40
|
+
|
|
41
|
+
location / {
|
|
42
|
+
proxy_set_header X-Real-IP $remote_addr;
|
|
43
|
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
44
|
+
proxy_set_header Host $http_host;
|
|
45
|
+
proxy_redirect off;
|
|
46
|
+
proxy_set_header X-FORWARDED_PROTO https;
|
|
47
|
+
proxy_max_temp_file_size 0;
|
|
48
|
+
proxy_pass http://<%= application %>;
|
|
49
|
+
}
|
|
50
50
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
51
|
<% end %>
|
metadata
CHANGED
|
@@ -1,46 +1,61 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: recipiez
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
prerelease:
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
hash: 27
|
|
5
|
+
prerelease: false
|
|
6
|
+
segments:
|
|
7
|
+
- 0
|
|
8
|
+
- 2
|
|
9
|
+
- 6
|
|
10
|
+
version: 0.2.6
|
|
6
11
|
platform: ruby
|
|
7
|
-
authors:
|
|
12
|
+
authors:
|
|
8
13
|
- Alastair Brunton
|
|
9
14
|
autorequire:
|
|
10
15
|
bindir: bin
|
|
11
16
|
cert_chain: []
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
17
|
+
|
|
18
|
+
date: 2012-03-28 00:00:00 +02:00
|
|
19
|
+
default_executable:
|
|
20
|
+
dependencies:
|
|
21
|
+
- !ruby/object:Gem::Dependency
|
|
15
22
|
name: xml-simple
|
|
16
|
-
|
|
23
|
+
prerelease: false
|
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
17
25
|
none: false
|
|
18
|
-
requirements:
|
|
19
|
-
- -
|
|
20
|
-
- !ruby/object:Gem::Version
|
|
21
|
-
|
|
26
|
+
requirements:
|
|
27
|
+
- - ">="
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
hash: 3
|
|
30
|
+
segments:
|
|
31
|
+
- 0
|
|
32
|
+
version: "0"
|
|
22
33
|
type: :runtime
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
- !ruby/object:Gem::Dependency
|
|
34
|
+
version_requirements: *id001
|
|
35
|
+
- !ruby/object:Gem::Dependency
|
|
26
36
|
name: mechanize
|
|
27
|
-
|
|
37
|
+
prerelease: false
|
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
28
39
|
none: false
|
|
29
|
-
requirements:
|
|
30
|
-
- -
|
|
31
|
-
- !ruby/object:Gem::Version
|
|
32
|
-
|
|
40
|
+
requirements:
|
|
41
|
+
- - ">="
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
hash: 3
|
|
44
|
+
segments:
|
|
45
|
+
- 0
|
|
46
|
+
version: "0"
|
|
33
47
|
type: :runtime
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Activecollab, Monit, NodeJS, Nginx
|
|
38
|
-
email:
|
|
48
|
+
version_requirements: *id002
|
|
49
|
+
description: Capistrano recipies for DB Syncing, Logrotate, Apache, Thin, Basecamp, Activecollab, Monit, NodeJS, Nginx
|
|
50
|
+
email:
|
|
39
51
|
- info@simplyexcited.co.uk
|
|
40
52
|
executables: []
|
|
53
|
+
|
|
41
54
|
extensions: []
|
|
55
|
+
|
|
42
56
|
extra_rdoc_files: []
|
|
43
|
-
|
|
57
|
+
|
|
58
|
+
files:
|
|
44
59
|
- .gitignore
|
|
45
60
|
- MIT-LICENSE
|
|
46
61
|
- README.md
|
|
@@ -76,29 +91,41 @@ files:
|
|
|
76
91
|
- recipes/thin.rb
|
|
77
92
|
- recipes/tolk.rb
|
|
78
93
|
- recipiez.gemspec
|
|
94
|
+
has_rdoc: true
|
|
79
95
|
homepage: http://github.com/pyrat/deployment_recipiez
|
|
80
96
|
licenses: []
|
|
97
|
+
|
|
81
98
|
post_install_message:
|
|
82
99
|
rdoc_options: []
|
|
83
|
-
|
|
100
|
+
|
|
101
|
+
require_paths:
|
|
84
102
|
- lib
|
|
85
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
103
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
86
104
|
none: false
|
|
87
|
-
requirements:
|
|
88
|
-
- -
|
|
89
|
-
- !ruby/object:Gem::Version
|
|
90
|
-
|
|
91
|
-
|
|
105
|
+
requirements:
|
|
106
|
+
- - ">="
|
|
107
|
+
- !ruby/object:Gem::Version
|
|
108
|
+
hash: 3
|
|
109
|
+
segments:
|
|
110
|
+
- 0
|
|
111
|
+
version: "0"
|
|
112
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
113
|
none: false
|
|
93
|
-
requirements:
|
|
94
|
-
- -
|
|
95
|
-
- !ruby/object:Gem::Version
|
|
114
|
+
requirements:
|
|
115
|
+
- - ">="
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
117
|
+
hash: 25
|
|
118
|
+
segments:
|
|
119
|
+
- 1
|
|
120
|
+
- 3
|
|
121
|
+
- 1
|
|
96
122
|
version: 1.3.1
|
|
97
123
|
requirements: []
|
|
124
|
+
|
|
98
125
|
rubyforge_project:
|
|
99
|
-
rubygems_version: 1.
|
|
126
|
+
rubygems_version: 1.3.7
|
|
100
127
|
signing_key:
|
|
101
128
|
specification_version: 3
|
|
102
|
-
summary: Capistrano recipies for DB Syncing, Logrotate, Apache, Thin, Basecamp, Activecollab,
|
|
103
|
-
Monit, NodeJS, Nginx
|
|
129
|
+
summary: Capistrano recipies for DB Syncing, Logrotate, Apache, Thin, Basecamp, Activecollab, Monit, NodeJS, Nginx
|
|
104
130
|
test_files: []
|
|
131
|
+
|