capistrano-nginx-unicorn 0.0.2 → 0.0.3

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.
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module NginxUnicorn
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -27,6 +27,9 @@ server {
27
27
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
28
28
  proxy_set_header Host $http_host;
29
29
  proxy_redirect off;
30
+ <% if nginx_use_ssl %>
31
+ proxy_set_header X-Forwarded-Proto https;
32
+ <% end %>
30
33
  proxy_pass http://unicorn_<%= application %>;
31
34
  # limit_req zone=one;
32
35
  access_log <%= shared_path %>/log/nginx.access.log;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-nginx-unicorn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -79,7 +79,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
79
79
  version: '0'
80
80
  segments:
81
81
  - 0
82
- hash: 3183296654064294828
82
+ hash: 2245415431310271380
83
83
  none: false
84
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  requirements:
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  version: '0'
89
89
  segments:
90
90
  - 0
91
- hash: 3183296654064294828
91
+ hash: 2245415431310271380
92
92
  none: false
93
93
  requirements: []
94
94
  rubyforge_project: