capistrano-unformatt 1.10 → 1.11

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '09bd3363586991ca0799eeb965c4f711e9d5c403'
4
- data.tar.gz: 5247400f5c50f5c8ecb11bb9f03fc92d57097ba4
3
+ metadata.gz: 3d1a1b925d09eb7c78438ee6e44beddd3f0f6ecf
4
+ data.tar.gz: 9d7e440fbac0d3344b682c23b16155ea5b42a53a
5
5
  SHA512:
6
- metadata.gz: d2fb33879856577e99383f6c7f7a374707d8781efc62190cd667a46a66935c0d6d7eb82333ea490af45c7941378de83e0538bfb3526590636883d47b4d71ba11
7
- data.tar.gz: '087615593fadb5122b9a5ae35a2b64f3a300bf7e89e623496c505b5791a2e056160bbb693266ea94a5d8ace3f518d2e91c067fd388ef744689b5aa7233f3e15a'
6
+ metadata.gz: eb0591c9beeccfecd209d39ef6c7fdf7f78fc81b0f487802370f4cc6f6a4c3b5503413b8e691ce0ee3e5858f54915d903d14755e28032b8d065549891860aaa8
7
+ data.tar.gz: 1f8488c08c89a9c7c864c55a1b1dd96feee0d1e1ced8337da34800bc9ae8460a51f4935a597f68065a73934a7b80f7ccc6a1a41aa682537663e720a768550172
data/CHANGELOG.md CHANGED
@@ -65,3 +65,7 @@
65
65
  ## v1.10
66
66
 
67
67
  * Improved configuration for nginx
68
+
69
+ ## v1.11
70
+
71
+ * Improved configuration for nginx
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "capistrano-unformatt"
7
- spec.version = '1.10'
7
+ spec.version = '1.11'
8
8
  spec.authors = ["unformatt"]
9
9
  spec.email = ["unformatt@gmail.com"]
10
10
  spec.description = "Custom recipes for Unformatt projects"
@@ -12,7 +12,7 @@ upstream <%=fetch(:application)%> {
12
12
  <%- else -%>
13
13
  server {
14
14
  listen <%= fetch(:nginx_http_port, 80) %>;
15
- server_name <%=fetch(:nginx_server_names)%>;
15
+ server_name <%=fetch(:nginx_http_server_names,fetch(:nginx_server_names))%>;
16
16
  root <%=current_path%>/public;
17
17
  access_log <%=fetch(:nginx_access_log, "#{shared_path}/log/nginx-access.log") %>;
18
18
  error_log <%=fetch(:nginx_error_log, "#{shared_path}/log/nginx-error.log")%>;
@@ -75,7 +75,7 @@ server {
75
75
  ssl_dhparam <%= fetch(:nginx_dhparams_path, '/etc/ssl/private/dhparams.pem') %>;
76
76
  <%- end -%>
77
77
 
78
- server_name <%=fetch(:nginx_server_names)%>;
78
+ server_name <%=fetch(:nginx_https_server_names,fetch(:nginx_server_names))%>;
79
79
  root <%=current_path%>/public;
80
80
  access_log <%=fetch(:nginx_access_log, "#{shared_path}/log/nginx-access.log") %>;
81
81
  error_log <%=fetch(:nginx_error_log, "#{shared_path}/log/nginx-error.log")%>;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-unformatt
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.10'
4
+ version: '1.11'
5
5
  platform: ruby
6
6
  authors:
7
7
  - unformatt