reverse_proxy 0.1.0 → 0.1.1
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 +4 -4
- data/lib/reverse_proxy/config/nginx.rb +2 -1
- data/lib/reverse_proxy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b4fdbbe2b1de7ed071798a6c1ca62bf17e444fd
|
4
|
+
data.tar.gz: fcf3b420a6233936ef03c3d30ac782c13e2f2395
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3523daa31125b541555aea44ee019afe108cf6e60e594a4e11c4d8542669668db48d6c7ff45ceb03524936d5c3831bf0f5c5aea6902d813c9c30c14703b1c3c
|
7
|
+
data.tar.gz: b23a44d994a6fd0fede79a6b78e9fb493e4f2bd20ceac011113746673ff7c561c9759b56d24d3b5e67635d19d6931b04552564d615a241cc2625cd014fc1af05
|
@@ -36,6 +36,7 @@ module ReverseProxy
|
|
36
36
|
worker_rlimit_nofile 8192;
|
37
37
|
pid <%= pid.relative_path_from chroot %>;
|
38
38
|
error_log error.log;
|
39
|
+
access_log access.log;
|
39
40
|
events {
|
40
41
|
worker_connections 2048;
|
41
42
|
}
|
@@ -84,7 +85,7 @@ module ReverseProxy
|
|
84
85
|
"application_#{proxy.id}"
|
85
86
|
end
|
86
87
|
def gzip_types
|
87
|
-
proxy.application.mime_types.keys.select do |type|
|
88
|
+
proxy.application.mime_types.keys.select do |type|
|
88
89
|
type.match(/((font)|(^text)|(css)|(script)|(bmp$)|(ml$))/)
|
89
90
|
end.reject{|x|x=="text/html"}.join(" ")
|
90
91
|
end
|