foreman-export-nginx 0.0.29 → 0.0.30

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OGM2ZDNiZjQzMzA3MWEwYzQ5NjUxODMyYWI2YTZlYzVjMTQ4ZWMwYQ==
4
+ NTJkMWUxNjMzZGNhYjhkYmVmNWIzNjQ5OTEzMTEzODIxOGEyNGEzNA==
5
5
  data.tar.gz: !binary |-
6
- MDRkN2Q0Zjc2ZWE1MzQxNGVmNDdlZmU3MzM5ZTI1MmQ2ODJhNzk4Zg==
6
+ Y2Y5M2RhOWIyODY1NTZiN2QwZWYxOTk0ZWI3OTY5ODY4MTEzNDdlZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjllOTU5ZjdmZjgzNGJlYTk4OGQ0YzVjZjE1MzY1ZTlhNGQ0MDZiZTE4YzA0
10
- ODZiMDM1MzQ2YzNlMmFkZTQ1NzE1YjA2Mzc3MjllOTRiYzdiNTkxYWRlZTI1
11
- YjAwMGYyMmViMWRkMTcwMTVhNzkyM2JmNDNmZWUyYzkzNzQwNDI=
9
+ OTBkZjQxM2NmYWZhNjQ4YWNlNTVjMmVhNTJiZGQ4MmIxMDIyOGIwNzc2ZWVi
10
+ YmY3ZGZhN2QxYTQ5N2QxNTZlMTBjYTM3MjJkZTFhZGM5ODQxMDUxNDMzYjcx
11
+ NjA3NmFlMmY5Y2Q1MGM0ZDkyZmY5MWFmMDVkOWY2MzRmOTJhODE=
12
12
  data.tar.gz: !binary |-
13
- NGM2NzlkNDkzZDg4YWMxMzIzMWRkYmZkMWEyZmRkYTZjNGExYWJiN2IzYjQz
14
- MmYxZjQ2MzU1MzJmYzAyNWFiMTUxYjhhZjk1M2ZjNzc1OGMyZDM0MjIwOGEx
15
- OTdmM2UyMTRkZjIxZmJiZmJiYzY1NDVmNGFmMDg1ZDVlYTYzMTg=
13
+ Mjc0Y2FiYzEyNmY5ZTA4N2Q5ZWI3OTFkZjg5NjA3ZTQ1ZDc4ZGZkMDIwZDFm
14
+ Mzg3NmRmNDIyZjdiNThkZDI5NDgxMjY5ZmU1ZWQwMTI0NWUyMGFiYWE0MTc0
15
+ MzMwYWExZGFmNjMyZjIzYzJlNGFiNTQ2YzMxM2I3YmI2OWYwYWQ=
@@ -8,7 +8,7 @@ server {
8
8
  access_log <%= log %>/<%= app %>-nginx-access.log combined buffer=2k;
9
9
  error_log <%= log %>/<%= app %>-nginx-error.log;
10
10
 
11
- listen 80 <%= default_server ? 'default_server' : '' %>;
11
+ listen <%= listen_address %>:80 <%= default_server ? 'default_server' : '' %>;
12
12
  server_name <%= additional_domains %> <%= app %>.<%= base_domain %>;
13
13
 
14
14
  <% if use_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.29'
7
+ gem.version = '0.0.30'
8
8
  gem.authors = ["Pete Keen"]
9
9
  gem.email = ["pete@bugsplat.info"]
10
10
  gem.description = %q{Export Nginx configs using Foreman}
@@ -23,6 +23,7 @@ module Foreman
23
23
  force_ssl = !!env_var('FORCE_SSL')
24
24
  force_domain = env_var('FORCE_DOMAIN')
25
25
  default_server = !!env_var('DEFAULT_SERVER')
26
+ listen_address = env_var('LISTEN_ADDRESS') || '*'
26
27
 
27
28
  ports = []
28
29
  1.upto(engine.formation[name]) do |num|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman-export-nginx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.29
4
+ version: 0.0.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Keen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-29 00:00:00.000000000 Z
11
+ date: 2014-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foreman