apartment_acme_client 0.0.1 → 0.0.2

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: df3fe0ce816007d23a0fbbdfbdffba71e2239cb5
4
- data.tar.gz: 03a37c82154522be994c86a27e070231b13d131a
3
+ metadata.gz: 48441b211e135882ab3cb6a31f4669d16ce297c2
4
+ data.tar.gz: 96fb486dbcc41fcf9548ec19983e1142ea1d63f6
5
5
  SHA512:
6
- metadata.gz: 39d796e4b59aa6e5b2773bac1e0eda6e7bce36b88aaf6ed77c474322b303b8ec4b0c36d8a27a084b60c8f279e8b74818833c59a1331031e99b402cc7c72a91ed
7
- data.tar.gz: 3ab79be5d12515ecad5f305c6eea795325755c1450ddb34cc7ee2e05ecfc203285ed7b8b1fe2b81765334f615aa53cb9b225a083c735327ac0581395c62dc278
6
+ metadata.gz: '059abb9971ccd802eac9d48ce18114b41ff2247f88e82afca675b53a6f6f8c6ee93553d7861a08f182ccac511205acb0db1c36c3aa8c2bfbf268f4627b5de52c'
7
+ data.tar.gz: 02fad81b5b2b32b9fd9154d1fc6444d62b37c824b6af481c52520b933200848345736a4d0029ba845c605c0b5bd5a96cc470f3dfaeb4af635c0b3de44f7c107b
data/README.md CHANGED
@@ -62,7 +62,7 @@ Setting up crypto the first time:
62
62
  2. `rake encryption:renew_and_update_certificate` - Authorize/create certificates
63
63
  3. `rake encryption:update_nginx_config` - re-write the nginx file to point at the certificates
64
64
 
65
- At this point, the only thing necessary is to run `rake renew_and_update_certificate` on a regular basis, which will find new domains, authorize them, and get new SSL certs for them.
65
+ At this point, the only thing necessary is to run `rake encryption:renew_and_update_certificate` on a regular basis, which will find new domains, authorize them, and get new SSL certs for them.
66
66
 
67
67
  See below for a detailed explanation of "First Time Setup"
68
68
 
@@ -230,7 +230,7 @@ over https instead of http
230
230
 
231
231
  1) Register with Let's Encrypt
232
232
 
233
- Before we can make requests to Let's encrypt, we need to create a private key, which we will use for all future requests to Let's encrypt. To do this, run `rake encryption::create_crypto_client[my_email@example.com]` (replacing the email address with yours)
233
+ Before we can make requests to Let's encrypt, we need to create a private key, which we will use for all future requests to Let's encrypt. To do this, run `rake encryption:create_crypto_client[my_email@example.com]` (replacing the email address with yours)
234
234
 
235
235
  This will create a new private key, store it on S3, and register that key with let's encrypt for your e-mail address.
236
236
 
@@ -247,7 +247,7 @@ The Nginx configuration must be updated to point to the SSL Certificate location
247
247
 
248
248
  run `rake encryption:update_nginx_config` in order to write the ngnix configuration file, and restart the nginx service.
249
249
 
250
- At this point, the only thing necessary is to run `rake renew_and_update_certificate` on a regular basis, which will find new domains, authorize them, and get new SSL certs for them. It will also restart nginx, to have it pick up the new certificate.
250
+ At this point, the only thing necessary is to run `rake encryption:renew_and_update_certificate` on a regular basis, which will find new domains, authorize them, and get new SSL certs for them. It will also restart nginx, to have it pick up the new certificate.
251
251
 
252
252
  ------------------------------------------------------
253
253
  ### Schedule a weekly task to be run.
@@ -83,6 +83,7 @@ module ApartmentAcmeClient
83
83
 
84
84
  location @app {
85
85
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
86
+ proxy_set_header X-FORWARDED-PROTO $scheme;
86
87
  proxy_set_header Host $http_host;
87
88
  proxy_redirect off;
88
89
  proxy_pass http://app;
@@ -1,3 +1,3 @@
1
1
  module ApartmentAcmeClient
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apartment_acme_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robin Dunlop
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-12 00:00:00.000000000 Z
11
+ date: 2018-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -17,7 +17,7 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 4.1.0
20
- - - "<"
20
+ - - "<="
21
21
  - !ruby/object:Gem::Version
22
22
  version: '5.2'
23
23
  type: :runtime
@@ -27,7 +27,7 @@ dependencies:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: 4.1.0
30
- - - "<"
30
+ - - "<="
31
31
  - !ruby/object:Gem::Version
32
32
  version: '5.2'
33
33
  - !ruby/object:Gem::Dependency