foreman-export-nginx 0.0.17 → 0.0.18
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 +1 -1
data/data/export/nginx/nginx.erb
CHANGED
@@ -9,7 +9,12 @@ server {
|
|
9
9
|
error_log <%= log %>/<%= app %>-nginx-error.log;
|
10
10
|
|
11
11
|
listen 80;
|
12
|
-
server_name <%= app %>.<%= base_domain
|
12
|
+
server_name <%= additional_domains %> <%= app %>.<%= base_domain %>;
|
13
|
+
|
14
|
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
15
|
+
proxy_set_header X-Forwarded-Proto $scheme;
|
16
|
+
proxy_set_header Host $http_host;
|
17
|
+
proxy_redirect off;
|
13
18
|
|
14
19
|
<% if use_ssl %>
|
15
20
|
listen 443 ssl;
|
@@ -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.18'
|
8
8
|
gem.authors = ["Pete Keen"]
|
9
9
|
gem.email = ["pete@bugsplat.info"]
|
10
10
|
gem.description = %q{Export Nginx configs using Foreman}
|