deploify 0.2.10 → 0.2.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,9 +60,8 @@ server {
60
60
 
61
61
  # set Expire header on assets
62
62
  location ~ ^/(images|javascripts|stylesheets)/ {
63
- if ($request_method = GET) {
64
- expires 1y;
65
- }
63
+ expires 1y;
64
+ error_page 405 = @upstream;
66
65
  }
67
66
  location ~ ^/assets/ {
68
67
  expires 1y;
@@ -47,9 +47,8 @@ server {
47
47
 
48
48
  # set Expire header on assets
49
49
  location ~ ^/(images|javascripts|stylesheets)/ {
50
- if ($request_method = GET) {
51
- expires 1y;
52
- }
50
+ expires 1y;
51
+ error_page 405 = @upstream;
53
52
  }
54
53
  location ~ ^/assets/ {
55
54
  expires max;
@@ -47,9 +47,8 @@ server {
47
47
 
48
48
  # set Expire header on assets
49
49
  location ~ ^/(images|javascripts|stylesheets)/ {
50
- if ($request_method = GET) {
51
- expires 1y;
52
- }
50
+ expires 1y;
51
+ error_page 405 = @upstream;
53
52
  }
54
53
  location ~ ^/assets/ {
55
54
  expires max;
@@ -113,9 +112,8 @@ server {
113
112
 
114
113
  # set Expire header on assets
115
114
  location ~ ^/(images|javascripts|stylesheets)/ {
116
- if ($request_method = GET) {
117
- expires 1y;
118
- }
115
+ expires 1y;
116
+ error_page 405 = @upstream;
119
117
  }
120
118
  location ~ ^/assets/ {
121
119
  expires max;
@@ -1,7 +1,7 @@
1
1
  module Deploify
2
2
  MAJOR = 0
3
3
  MINOR = 2
4
- PATCH = 10
4
+ PATCH = 11
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: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 10
10
- version: 0.2.10
9
+ - 11
10
+ version: 0.2.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Richard Riman