foreman-export-nginx 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/data/export/nginx/nginx.erb +3 -7
- data/foreman-export-nginx.gemspec +1 -1
- metadata +1 -1
data/data/export/nginx/nginx.erb
CHANGED
@@ -1,10 +1,3 @@
|
|
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
|
-
|
8
1
|
upstream <%= app %> {
|
9
2
|
<% ports.each do |port| %>
|
10
3
|
server localhost:<%= port %> fail_timeout=0;
|
@@ -21,6 +14,9 @@ server {
|
|
21
14
|
root <%= engine.root %>/public;
|
22
15
|
|
23
16
|
|
17
|
+
gzip_proxied expired no-cache no-store private auth;
|
18
|
+
gzip_disable "MSIE [1-6]\."
|
19
|
+
gzip_types text/css text/javascript application/x-javascript;
|
24
20
|
|
25
21
|
|
26
22
|
try_files $uri/index.html $uri.html $uri @app;
|
@@ -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.9'
|
8
8
|
gem.authors = ["Pete Keen"]
|
9
9
|
gem.email = ["pete@bugsplat.info"]
|
10
10
|
gem.description = %q{Export Nginx configs using Foreman}
|