foreman-export-nginx 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/data/export/nginx/nginx.erb +5 -1
- data/foreman-export-nginx.gemspec +1 -1
- metadata +1 -1
data/data/export/nginx/nginx.erb
CHANGED
@@ -13,11 +13,15 @@ server {
|
|
13
13
|
|
14
14
|
root <%= engine.root %>/public;
|
15
15
|
|
16
|
+
<% if ENV['GZIP_COMPRESSION'] %>
|
16
17
|
gzip on;
|
17
18
|
gzip_min_length 1000;
|
18
19
|
gzip_proxied expired no-cache no-store private auth;
|
19
|
-
|
20
|
+
<% if ENV['GZIP_COMPRESSION_TYPES' %>
|
21
|
+
gzip_types <%= ENV['GZIP_COMPRESSION_TYPES'] %>;
|
22
|
+
<% end %>
|
20
23
|
gzip_disable "MSIE [1-6]\."
|
24
|
+
<% end %>
|
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.5'
|
8
8
|
gem.authors = ["Pete Keen"]
|
9
9
|
gem.email = ["pete@bugsplat.info"]
|
10
10
|
gem.description = %q{Export Nginx configs using Foreman}
|