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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6c36175c240e56d54ac11b590af9a7c6e5defc2
4
- data.tar.gz: 37600630f2ce5e64308173efd71579756525733b
3
+ metadata.gz: 7b4ac0f162c3e1b7494a00fde9943c3fdb9bc589
4
+ data.tar.gz: 956305eadf4ab3a78951d3ffb336423856bf243c
5
5
  SHA512:
6
- metadata.gz: 4af5c0e6330e52b6b92e37445aed121f0c22c4bcb89518928e77776381d634a8b05bc5765d96314e060b2093e2f980aa702615b5ec96ef7fe3553bdb7b1aafea
7
- data.tar.gz: f0cd6472ba9161f2b9d4412a1d89cfa8d5b02b32530eb3a544ac5b66edde994f0d2f7f95567412254dde12169a96faa7b5fc98552f5f984230e2cff1cc3f8ed2
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
@@ -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.4'
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}
@@ -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
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: 2014-12-13 00:00:00.000000000 Z
11
+ date: 2015-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano