foreman-export-nginx 0.0.17 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 %> <%= additional_domains %>;
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.17'
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}
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.17
4
+ version: 0.0.18
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: