nginx_config_generator_kthompson 0.1.0 → 0.2.0

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/nginx.erb +1 -1
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
data/lib/nginx.erb CHANGED
@@ -96,7 +96,7 @@ http {
96
96
  <% else %>
97
97
 
98
98
  # port to listen on. Can also be set to an IP:PORT
99
- listen 80;
99
+ listen <%= site['listen'] || '80' %>;
100
100
 
101
101
  # sets the domain[s] that this vhost server requests for
102
102
  server_name <%= site['server_name'] %>;
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nginx_config_generator_kthompson
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 1
8
+ - 2
9
9
  - 0
10
- version: 0.1.0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kevin Thompson