foreman-export-nginx 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/data/export/nginx/nginx.erb +9 -5
- data/foreman-export-nginx.gemspec +1 -1
- metadata +1 -1
data/data/export/nginx/nginx.erb
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
gzip on;
|
2
|
+
gzip_min_length 1000;
|
3
|
+
gzip_proxied expired no-cache no-store private auth;
|
4
|
+
gzip_disable "MSIE [1-6]\."
|
5
|
+
gzip_types text/css text/javascript application/x-javascript;
|
6
|
+
sendfile on;
|
7
|
+
|
1
8
|
upstream <%= app %> {
|
2
9
|
<% ports.each do |port| %>
|
3
10
|
server localhost:<%= port %> fail_timeout=0;
|
@@ -13,11 +20,8 @@ server {
|
|
13
20
|
|
14
21
|
root <%= engine.root %>/public;
|
15
22
|
|
16
|
-
|
17
|
-
|
18
|
-
gzip_proxied expired no-cache no-store private auth;
|
19
|
-
gzip_disable "MSIE [1-6]\."
|
20
|
-
gzip_types text/css text/javascript application/x-javascript;
|
23
|
+
|
24
|
+
|
21
25
|
|
22
26
|
try_files $uri/index.html $uri.html $uri @app;
|
23
27
|
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "foreman-export-nginx"
|
7
|
-
gem.version = '0.0.
|
7
|
+
gem.version = '0.0.8'
|
8
8
|
gem.authors = ["Pete Keen"]
|
9
9
|
gem.email = ["pete@bugsplat.info"]
|
10
10
|
gem.description = %q{Export Nginx configs using Foreman}
|