bowtie-io 1.0.6 → 1.0.7

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: 894cf0e3d5257ab32f996188cdb0b44be87d1402
4
- data.tar.gz: 0eafe7dbe364307c6104f63094e115e29cb26d3d
3
+ metadata.gz: a2f5a0ee501b0f98c53bc2f8e7250c8d5d4b4d6f
4
+ data.tar.gz: e79442a5ef79b6ff12a93be642688fe5cf400243
5
5
  SHA512:
6
- metadata.gz: 01b3ae60be2211e9f4ae2aabe311b8494c7d89eff5035e52fda83996fab0b3fb8f500e329582fbdc442a460afb023a2579758af44a31b3ec1e60543b139aed70
7
- data.tar.gz: eb8bfa1a836e96c5e7252dd473b882a1cf7b07de35b6049e13107be97b59d9826bc39f633fa1c5a2349cce8fc884e2e17f069c051b7138567f7a7810ef44cfc8
6
+ metadata.gz: d01058724bc678d11ca571bdd2bb3295e3fd6624e8fa966c34cc9394c1fe458182aedbb6e2007ebd4a73aa211b62bbc4a36f9b23822b1e235e2b4512e0a72290
7
+ data.tar.gz: f9bd1348300cd672317892a17dbb11f594cebc78600c4bb2bdcc0d26900bf6626eb99409f03343a6cbb989d06018978da5752081f1a2d6c89134c64702030080
@@ -32,7 +32,9 @@ module Bowtie::Middleware
32
32
  path = rack_request.path
33
33
 
34
34
  rack_request.env[:proxy_addon_headers] = {
35
- 'X-Forwarded-Host' => fqdn,
35
+ 'X-Forwarded-Host' => rack_request.host,
36
+ 'X-Forwarded-Port' => rack_request.port,
37
+ 'X-Forwarded-Proto' => 'http',
36
38
  'X-Bowtie-Client-Version' => Bowtie::VERSION
37
39
  }
38
40
 
@@ -1,3 +1,3 @@
1
1
  module Bowtie
2
- VERSION = '1.0.6'
2
+ VERSION = '1.0.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bowtie-io
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Kassemi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-16 00:00:00.000000000 Z
11
+ date: 2015-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll