capistrano3-nginx 3.0.3 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +3 -2
- data/lib/capistrano/nginx/version.rb +1 -1
- data/lib/capistrano/tasks/nginx.rake +1 -1
- data/templates/nginx.conf.erb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3804ce5785ee1dddb14d9cf3ddda85b74074bf45
|
4
|
+
data.tar.gz: cd007e618b312e377fa5e30bf4d1560ef8ae1ea8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e79ec054bf79f0571a92472266faa742e7c7938a76f4a4ba1a29c1ca1611bee2a80a94bb698d4920a80642cb3d78e2a635a851cd70e480bd94f2542d290d8385
|
7
|
+
data.tar.gz: 654e4eab16f2486e071dc882495bfc5b87c5b7526c45ef9dfc09a903203e3ef01afc3e18c9c731510aec88dceb8bade37ea93fb120e57e59175740f6fafae4ab
|
data/.gitignore
CHANGED
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.
|
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
|
-
|
99
|
+
set :nginx_log_path, nil
|
99
100
|
|
100
101
|
# Path where to look for static files
|
101
102
|
# default value: "public"
|
@@ -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
|
data/templates/nginx.conf.erb
CHANGED
@@ -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.
|
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-
|
12
|
+
date: 2019-06-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|