foreman-export-nginx 0.0.12 → 0.0.13
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 +6 -1
- data/foreman-export-nginx.gemspec +1 -1
- metadata +2 -2
data/data/export/nginx/nginx.erb
CHANGED
@@ -11,7 +11,7 @@ server {
|
|
11
11
|
listen 80;
|
12
12
|
server_name <%= app %>.<%= ENV['BASE_DOMAIN'] %> <%= (ENV['ADDITIONAL_DOMAINS'] || '').split(',').join(' ') %>;
|
13
13
|
|
14
|
-
<% if ENV['USE_SSL'] %>
|
14
|
+
<% if ENV['USE_SSL'] != '' %>
|
15
15
|
listen 443 ssl;
|
16
16
|
|
17
17
|
<% if ENV['SSL_CERT_PATH'] != '' && ENV['SSL_KEY_PATH'] != '' %>
|
@@ -36,4 +36,9 @@ server {
|
|
36
36
|
location = /500.html {
|
37
37
|
root <%= engine.root %>/public;
|
38
38
|
}
|
39
|
+
|
40
|
+
error_page 404 /404.html
|
41
|
+
location = /404.html {
|
42
|
+
root <%= engine.root %>/public;
|
43
|
+
}
|
39
44
|
}
|
@@ -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.13'
|
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.13
|
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-01-
|
12
|
+
date: 2013-01-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: foreman
|