foreman-export-nginx 0.0.26 → 0.0.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,14 +22,14 @@ server {
22
22
 
23
23
  <% if force_ssl %>
24
24
  if ($ssl_protocol = "") {
25
- rewrite ^https://$server_name$request_uri? permanent;
25
+ rewrite ^(.*)$ https://$server_name$request_uri? permanent;
26
26
  }
27
27
  <% end %>
28
28
  <% end %>
29
29
 
30
30
  <% if force_domain %>
31
31
  if ( $host != '<%= force_domain %>' ) {
32
- rewrite ^http://<%= force_domain %>$request_uri? permanent;
32
+ rewrite ^(.*)$ $scheme://<%= force_domain %>$request_uri? permanent;
33
33
  }
34
34
  <% end %>
35
35
 
@@ -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.26'
7
+ gem.version = '0.0.27'
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.26
4
+ version: 0.0.27
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-07-03 00:00:00.000000000 Z
12
+ date: 2013-08-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: foreman