foreman-export-nginx 0.0.25 → 0.0.26
Sign up to get free protection for your applications and to get access to all the features.
- data/data/export/nginx/nginx.erb +4 -0
- data/foreman-export-nginx.gemspec +1 -1
- metadata +2 -2
data/data/export/nginx/nginx.erb
CHANGED
@@ -35,6 +35,10 @@ server {
|
|
35
35
|
|
36
36
|
root <%= engine.root %>/public;
|
37
37
|
|
38
|
+
<% if File.exists?(File.join(engine.root, '.nginx')) %>
|
39
|
+
include <%= engine.root %>/.nginx;
|
40
|
+
<% end %>
|
41
|
+
|
38
42
|
try_files $uri/index.html $uri.html $uri @app;
|
39
43
|
|
40
44
|
location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml)$ {
|
@@ -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.26'
|
8
8
|
gem.authors = ["Pete Keen"]
|
9
9
|
gem.email = ["pete@bugsplat.info"]
|
10
10
|
gem.description = %q{Export Nginx configs using Foreman}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman-export-nginx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.26
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-07-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: foreman
|