deploify 0.2.5 → 0.2.6

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.
@@ -60,6 +60,13 @@ server {
60
60
  error_page 404 = @fallback;
61
61
  }
62
62
 
63
+ location ~ ^/assets/ {
64
+ expires max;
65
+ add_header Cache-Control public;
66
+ add_header ETag "";
67
+ error_page 404 = @fallback;
68
+ }
69
+
63
70
  location @fallback {
64
71
  proxy_pass http://<%= nginx_upstream_name %>;
65
72
  proxy_redirect off;
@@ -47,6 +47,13 @@ server {
47
47
  error_page 404 = @fallback;
48
48
  }
49
49
 
50
+ location ~ ^/assets/ {
51
+ expires max;
52
+ add_header Cache-Control public;
53
+ add_header ETag "";
54
+ error_page 404 = @fallback;
55
+ }
56
+
50
57
  location @fallback {
51
58
  proxy_pass http://<%= nginx_upstream_name %>;
52
59
  proxy_redirect off;
@@ -47,6 +47,13 @@ server {
47
47
  error_page 404 = @fallback;
48
48
  }
49
49
 
50
+ location ~ ^/assets/ {
51
+ expires max;
52
+ add_header Cache-Control public;
53
+ add_header ETag "";
54
+ error_page 404 = @fallback;
55
+ }
56
+
50
57
  location @fallback {
51
58
  proxy_pass http://<%= nginx_upstream_name %>;
52
59
  proxy_redirect off;
@@ -1,7 +1,7 @@
1
1
  module Deploify
2
2
  MAJOR = 0
3
3
  MINOR = 2
4
- PATCH = 5
4
+ PATCH = 6
5
5
  BUILD = nil
6
6
 
7
7
  if BUILD.nil?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deploify
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 5
10
- version: 0.2.5
9
+ - 6
10
+ version: 0.2.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Richard R\xCC\x8Ci\xCC\x81man"
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-12-05 00:00:00 Z
18
+ date: 2012-12-06 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: bundler