foreman-export-nginx 0.0.6 → 0.0.7
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.
- data/data/export/nginx/nginx.erb +1 -5
- data/foreman-export-nginx.gemspec +1 -1
- metadata +1 -1
data/data/export/nginx/nginx.erb
CHANGED
|
@@ -13,15 +13,11 @@ server {
|
|
|
13
13
|
|
|
14
14
|
root <%= engine.root %>/public;
|
|
15
15
|
|
|
16
|
-
<% if ENV['GZIP_COMPRESSION'] %>
|
|
17
16
|
gzip on;
|
|
18
17
|
gzip_min_length 1000;
|
|
19
18
|
gzip_proxied expired no-cache no-store private auth;
|
|
20
|
-
<% if ENV['GZIP_COMPRESSION_TYPES'] %>
|
|
21
|
-
gzip_types <%= ENV['GZIP_COMPRESSION_TYPES'] %>;
|
|
22
|
-
<% end %>
|
|
23
19
|
gzip_disable "MSIE [1-6]\."
|
|
24
|
-
|
|
20
|
+
gzip_types text/css text/javascript application/x-javascript;
|
|
25
21
|
|
|
26
22
|
try_files $uri/index.html $uri.html $uri @app;
|
|
27
23
|
|
|
@@ -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.7'
|
|
8
8
|
gem.authors = ["Pete Keen"]
|
|
9
9
|
gem.email = ["pete@bugsplat.info"]
|
|
10
10
|
gem.description = %q{Export Nginx configs using Foreman}
|