capistrano-nginx-unicorn 0.0.7 → 0.0.8
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.
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NzNmNWY5ZGViYmU4NGEyYjFiODQ0NTM1NjdmN2JhMWRkZGQ3MGQ4MA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZWRmOGM1OTRjZTlhYTA2ZjFkNmViMmUwZjZjYmFkOWYxMWMyOWJkZA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MDRjODUzOTcyYzM4MjBjNjVhMDA5ZThlMjYyNWM0ZTViMWQzYTg0ZTgxZGE4
|
|
10
|
+
ZWI4NTg4N2E2MGMxNWQ1MjAyN2I5NjYyZTUyZjgwZDg4MjQxM2VlZGQ3Yjc2
|
|
11
|
+
YTM3YjNlNjUxMmExMzZiYzUwZTZhNTViMjc1YWE0YjgxYWY4NzE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MmQ3MTM4NzhkMmEwZmM5NjZlNWExYzhlMzRkNWQ2ZmMyM2M0MmNjZWI2YjA3
|
|
14
|
+
NzM4ZWQ1NWFmOTJjMzFlZTg5ZWQyMDIyN2IxZDFhMTM5MjEwNjM5YTRlY2Mz
|
|
15
|
+
ZWVlOWJhMWY3Y2M3ZjJmNjFhMTZlYTJiNTdhZTU3OGRhYTRkNDc=
|
|
@@ -19,6 +19,12 @@ server {
|
|
|
19
19
|
listen 80;
|
|
20
20
|
<% end %>
|
|
21
21
|
|
|
22
|
+
client_max_body_size 4G;
|
|
23
|
+
keepalive_timeout 10;
|
|
24
|
+
|
|
25
|
+
error_page 500 502 504 /500.html;
|
|
26
|
+
error_page 503 @503;
|
|
27
|
+
|
|
22
28
|
server_name <%= nginx_server_name %>;
|
|
23
29
|
root <%= current_path %>/public;
|
|
24
30
|
try_files $uri/index.html $uri @unicorn_<%= application %>;
|
|
@@ -36,25 +42,12 @@ server {
|
|
|
36
42
|
error_log <%= shared_path %>/log/nginx.error.log;
|
|
37
43
|
}
|
|
38
44
|
|
|
39
|
-
location
|
|
45
|
+
location ^~ /assets/ {
|
|
40
46
|
gzip_static on;
|
|
41
47
|
expires max;
|
|
42
48
|
add_header Cache-Control public;
|
|
43
|
-
add_header Last-Modified "";
|
|
44
|
-
add_header ETag "";
|
|
45
|
-
|
|
46
|
-
open_file_cache max=1000 inactive=500s;
|
|
47
|
-
open_file_cache_valid 600s;
|
|
48
|
-
open_file_cache_errors on;
|
|
49
|
-
break;
|
|
50
49
|
}
|
|
51
50
|
|
|
52
|
-
client_max_body_size 4G;
|
|
53
|
-
keepalive_timeout 10;
|
|
54
|
-
|
|
55
|
-
error_page 500 502 504 /500.html;
|
|
56
|
-
error_page 503 @503;
|
|
57
|
-
|
|
58
51
|
location = /50x.html {
|
|
59
52
|
root html;
|
|
60
53
|
}
|