capistrano-generals 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5418b28596059744e60166faab083f45b39828e
|
4
|
+
data.tar.gz: 49c000fb03544f8325070d163eaca75d88984ceb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00c32a08f14ce4ebe36223a772a98b4499fdf0bd818f22f86bb952c29c2b98e8df9d1cf1ce7441ea2ba8d337d8034c0d5154630fad8b621cb47bb6764242829c
|
7
|
+
data.tar.gz: 8d302884b0af0afc0917c34aef4cdba241e55a2ec893ff5ba95d047f681d0c6e8960f9abe74aa63c882b204c7527c732303fc617b3a5c9c10560fa83f54f2c99
|
@@ -18,7 +18,11 @@ upstream puma_<%= fetch(:app_config_name) %> {
|
|
18
18
|
server {
|
19
19
|
listen 80;
|
20
20
|
server_name www.<%= fetch(:server_domain) %>;
|
21
|
+
<% if fetch(:nginx_use_ssl) %>
|
21
22
|
return 301 https://<%= fetch(:server_domain) %>$request_uri;
|
23
|
+
<% else %>
|
24
|
+
return 301 http://<%= fetch(:server_domain) %>$request_uri;
|
25
|
+
<% end %>
|
22
26
|
}
|
23
27
|
<% end %>
|
24
28
|
<% if fetch(:nginx_use_ssl) %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-generals
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stef Schenkelaars
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|