dav4rack 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.rdoc +5 -2
  2. data/lib/dav4rack/version.rb +1 -1
  3. metadata +6 -6
@@ -183,10 +183,12 @@ and as such should be applicable to other servers. First, a simplified NGINX ser
183
183
  location ~* /webdav_redirect {
184
184
  internal;
185
185
  resolver 127.0.0.1;
186
+ set $r_host $upstream_http_redirect_host;
187
+ set $r_url $upstream_http_redirect_url;
186
188
  proxy_set_header Authorization '';
187
- proxy_set_header Host $upstream_http_redirect_host;
189
+ proxy_set_header Host $r_host;
188
190
  proxy_max_temp_file_size 0;
189
- proxy_pass $upstream_http_redirect_url;
191
+ proxy_pass $r_url;
190
192
  }
191
193
  }
192
194
 
@@ -302,6 +304,7 @@ A big thanks to everyone contributing to help make this project better.
302
304
 
303
305
  * {clyfe}[http://github.com/clyfe]
304
306
  * {antiloopgmbh}[http://github.com/antiloopgmbh]
307
+ * {krug}[http://github.com/krug]
305
308
 
306
309
  == License
307
310
 
@@ -1,3 +1,3 @@
1
1
  module DAV4Rack
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dav4rack
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease: false
4
+ hash: 19
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Roberts
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-24 00:00:00 -08:00
18
+ date: 2011-03-31 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  requirements: []
126
126
 
127
127
  rubyforge_project:
128
- rubygems_version: 1.3.7
128
+ rubygems_version: 1.5.1
129
129
  signing_key:
130
130
  specification_version: 3
131
131
  summary: WebDAV handler for Rack