capistrano3-nginx 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/capistrano3-nginx.gemspec +1 -1
- data/templates/nginx.conf.erb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b4ac0f162c3e1b7494a00fde9943c3fdb9bc589
|
4
|
+
data.tar.gz: 956305eadf4ab3a78951d3ffb336423856bf243c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42d85f90f1357f154c846ca109f5b53896bd07fc0248f8319281b65cf37381a3a83132c60cf1822667aca5b4ad4e46d26c331d78e397bc2dd8746a719368a4b9
|
7
|
+
data.tar.gz: 0e072b72e70e96a9bab437d3bac7a571e27be73aa93ca1b473b9bbe370052e71c4121529c3b7f4011fec992432130bdcefa31a9853519c998f6dc12cb87556da
|
data/README.md
CHANGED
@@ -113,6 +113,10 @@ set :nginx_ssl_certificate_key, 'my-domain.key'
|
|
113
113
|
# default value: "/etc/ssl/private"
|
114
114
|
set :nginx_ssl_certificate_key_path, "#{shared_path}/ssl/private"
|
115
115
|
|
116
|
+
# You can set a timeout value in seconds
|
117
|
+
# nginx's default is 30 seconds
|
118
|
+
set :nginx_read_timeout, 30
|
119
|
+
|
116
120
|
# Whether you want to server an application through a proxy pass
|
117
121
|
# default value: true
|
118
122
|
set :app_server, true
|
data/capistrano3-nginx.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'capistrano3-nginx'
|
7
|
-
spec.version = '2.0.
|
7
|
+
spec.version = '2.0.5'
|
8
8
|
spec.authors = ['Juan Ignacio Donoso']
|
9
9
|
spec.email = ['jidonoso@gmail.com']
|
10
10
|
spec.description = %q{Adds suuport to nginx for Capistrano 3.x}
|
data/templates/nginx.conf.erb
CHANGED
@@ -60,6 +60,9 @@ server {
|
|
60
60
|
proxy_set_header Host $http_host;
|
61
61
|
<% if fetch(:nginx_use_ssl) %>
|
62
62
|
proxy_set_header X-Forwarded-Proto https;
|
63
|
+
<% end %>
|
64
|
+
<% if fetch(:nginx_read_timeout) %>
|
65
|
+
proxy_read_timeout <%= fetch(:nginx_read_timeout) %>;
|
63
66
|
<% end %>
|
64
67
|
proxy_redirect off;
|
65
68
|
proxy_pass http://<%= fetch(:application) %>-app-server;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano3-nginx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Ignacio Donoso
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|