capistrano3-nginx 3.0.3 → 3.0.4

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: 806b122408993b8313192cfe4a32b5a1df6bc856
4
- data.tar.gz: 2bf7151b55702dc1066d9f9aba032eba0e35d3be
3
+ metadata.gz: 3804ce5785ee1dddb14d9cf3ddda85b74074bf45
4
+ data.tar.gz: cd007e618b312e377fa5e30bf4d1560ef8ae1ea8
5
5
  SHA512:
6
- metadata.gz: eac9680f431adfd8993e20144f1a89bdcdc91da0ecd4aed6aed42b59da6a9c5ee243e6266322f0bcb54cbc10fdec68708c0b03db582afc280570b0a3c3ab044e
7
- data.tar.gz: 709a75d85ce8b08a77b536dad1e4e78cc18ccd791fb4c81ec8c1cd4c92d6036b0f0c89e95ad28005ba892485894c185d62ee6b8001c556e49dcb750cc75550f8
6
+ metadata.gz: e79ec054bf79f0571a92472266faa742e7c7938a76f4a4ba1a29c1ca1611bee2a80a94bb698d4920a80642cb3d78e2a635a851cd70e480bd94f2542d290d8385
7
+ data.tar.gz: 654e4eab16f2486e071dc882495bfc5b87c5b7526c45ef9dfc09a903203e3ef01afc3e18c9c731510aec88dceb8bade37ea93fb120e57e59175740f6fafae4ab
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
1
  pkg/
2
+ *.gem
data/README.md CHANGED
@@ -5,7 +5,7 @@ Nginx support for Capistrano 3.x, with sudo password prompt
5
5
 
6
6
  Add this line to your application's Gemfile:
7
7
 
8
- gem 'capistrano3-nginx', '~> 3.0.2'
8
+ gem 'capistrano3-nginx', '~> 3.0.4'
9
9
 
10
10
 
11
11
  And then execute:
@@ -94,8 +94,9 @@ set :nginx_service_path, "/etc/init.d/nginx"
94
94
  set :nginx_roles, :sudo
95
95
 
96
96
  # Path, where nginx log file will be stored
97
+ # set it nil if don't want to override log path
97
98
  # default value: "#{shared_path}/log"
98
- # set :nginx_log_path, "#{shared_path}/log"
99
+ set :nginx_log_path, nil
99
100
 
100
101
  # Path where to look for static files
101
102
  # default value: "public"
@@ -1,3 +1,3 @@
1
1
  module Capistrano
2
- NGINX_VERSION = '3.0.3'
2
+ NGINX_VERSION = '3.0.4'
3
3
  end
@@ -53,7 +53,7 @@ namespace :nginx do
53
53
  execute *arguments, interaction_handler: PasswdInteractionHandler.new
54
54
  end
55
55
  end
56
- after 'deploy:check', 'nginx:create_log_paths'
56
+ after 'deploy:check', 'nginx:create_log_paths' if fetch(:nginx_log_path)
57
57
 
58
58
  desc 'Compress JS and CSS with gzip'
59
59
  task :gzip_static => ['nginx:load_vars'] do
@@ -32,7 +32,9 @@ server {
32
32
  <% if fetch(:nginx_use_ssl) %>
33
33
  listen 443;
34
34
  ssl on;
35
- ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
35
+ #ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
36
+ ssl_protocols TLSv1.2;
37
+ ssl_ciphers HIGH:!aNULL:!MD5:!3DES;
36
38
  ssl_certificate <%= fetch(:nginx_ssl_certificate_path) %>/<%= fetch(:nginx_ssl_certificate) %>;
37
39
  ssl_certificate_key <%= fetch(:nginx_ssl_certificate_key_path) %>/<%= fetch(:nginx_ssl_certificate_key) %>;
38
40
  <% else %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano3-nginx
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Ignacio Donoso
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-06-14 00:00:00.000000000 Z
12
+ date: 2019-06-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano