ms_deploy 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,6 +42,8 @@ Capistrano::Configuration.instance.load do
42
42
  'with_file_expire_max' => fetch(:with_file_expire_max, true),
43
43
  'optional_http_content' => fetch(:optional_nginx_server_http_content, ''),
44
44
  'optional_https_content' => fetch(:optional_nginx_server_https_content, ''),
45
+ 'optional_nginx_http_content' => fetch(:optional_nginx_http_content, ''),
46
+ 'optional_nginx_https_content' => fetch(:optional_nginx_https_content, ''),
45
47
  'cert_type' => fetch(:cert_type, 'pem'),
46
48
  'key_type' => fetch(:cert_type, 'key'),
47
49
  'serve_static_files' => fetch(:serve_static_files, true),
@@ -16,6 +16,9 @@ upstream <%= application %>_<%= stage %>_<%= protocol %>_server {
16
16
  }
17
17
  <% end %>
18
18
 
19
+ <%= optional_nginx_http_content if protocol == 'http' %>
20
+ <%= optional_nginx_https_content if protocol == 'https' %>
21
+
19
22
  server {
20
23
 
21
24
  server_name <%= domain %>;
@@ -1,3 +1,3 @@
1
1
  module MsDeploy
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ms_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
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: 2012-09-11 00:00:00.000000000 Z
12
+ date: 2012-09-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gemcutter