shared-infrastructure 2.1.2 → 2.2.1

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
- SHA1:
3
- metadata.gz: 8fdb173061a61d20c306a9f619e3852e631e3055
4
- data.tar.gz: e5d655391f2c7ae07b3e9bcb9a2aef86322e7572
2
+ SHA256:
3
+ metadata.gz: 2a25928cff5b222ea64339e74483a3626dadbb83adb9d6ed11fa3607e1229c97
4
+ data.tar.gz: 24631d7d64f1f7880964bb9c22c3b8186125491c454a4f4bcf78fbfbbe7d5b8d
5
5
  SHA512:
6
- metadata.gz: ca2273b74fbf62b0e60238b81bea8d30c18c160c67caa8852c4ab8d8df6d044cd492a745b591ca51534c8b7010020835db507fe3c36f31145e8048bd43f239ef
7
- data.tar.gz: 4e33c111e18955dae7ac44ce520dea881cc5fd4429eaf7025126a05a1627b55bf9302343681137d0ec4a2bc028eaff0b3f87cee11e99ecc6c37272713d502176
6
+ metadata.gz: 695f7adad005e48093c604eceb7bc77621cf39a1e43a2998034937b4681b3f432683d9f0b78146a3867a1dca247e665118b27aec2cfe2e73dd6ddaf1f441a952
7
+ data.tar.gz: 9e23713658947727b7bbe2bbec75b7050f9542bc88b0adff5031b7ab5ed55c6bd559acd666e2f0f70b48ba962d6192a79bf57f760974db5023c08b4db31f4298
@@ -100,6 +100,8 @@ Finally, re-run this script to configure nginx for TLS.
100
100
  end
101
101
 
102
102
  class Site < Base
103
+ include Etc
104
+
103
105
  def initialize(user, *server_blocks, domain: nil)
104
106
  super(*server_blocks, domain: domain)
105
107
  @user = user
@@ -43,7 +43,7 @@ module Nginx
43
43
  "# Optimize TLS, from: https://www.bjornjohansen.no/optimizing-https-nginx, steps 1-3",
44
44
  "ssl_session_cache shared:SSL:1m; # Enough for 4,000 sessions.",
45
45
  "ssl_session_timeout 180m;",
46
- "ssl_protocols TLSv1 TLSv1.1 TLSv1.2;",
46
+ "ssl_protocols TLSv1.3 TLSv1.2;",
47
47
  "ssl_prefer_server_ciphers on;",
48
48
  "ssl_ciphers ECDH+AESGCM:ECDH+AES256:ECDH+AES128:DH+3DES:!ADH:!AECDH:!MD5;",
49
49
  "# Step 4",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SharedInfrastructure
4
- VERSION = "2.1.2"
4
+ VERSION = "2.2.1"
5
5
  end
@@ -1,20 +1,21 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "shared_infrastructure/output.rb"
4
- require "shared_infrastructure/domain.rb"
5
- require "shared_infrastructure/nginx/nginx.rb"
6
- require "shared_infrastructure/nginx/server_block.rb"
7
- require "shared_infrastructure/nginx/server.rb"
8
- require "shared_infrastructure/nginx/lines.rb"
9
- require "shared_infrastructure/nginx/listen.rb"
10
- require "shared_infrastructure/nginx/location.rb"
11
- require "shared_infrastructure/nginx/upstream.rb"
12
- require "shared_infrastructure/nginx/builder.rb"
13
- require "shared_infrastructure/nginx/accel.rb"
14
- require "shared_infrastructure/runner/base.rb"
15
- require "shared_infrastructure/runner/reverse_proxy.rb"
16
- require "shared_infrastructure/runner/static_site.rb"
17
- require "shared_infrastructure/runner/rails.rb"
18
- require "shared_infrastructure/systemd/systemd.rb"
19
- require "shared_infrastructure/systemd/rails.rb"
20
- require "shared_infrastructure/version.rb"
3
+ require "etc"
4
+ require "shared_infrastructure/output"
5
+ require "shared_infrastructure/domain"
6
+ require "shared_infrastructure/nginx/nginx"
7
+ require "shared_infrastructure/nginx/server_block"
8
+ require "shared_infrastructure/nginx/server"
9
+ require "shared_infrastructure/nginx/lines"
10
+ require "shared_infrastructure/nginx/listen"
11
+ require "shared_infrastructure/nginx/location"
12
+ require "shared_infrastructure/nginx/upstream"
13
+ require "shared_infrastructure/nginx/builder"
14
+ require "shared_infrastructure/nginx/accel"
15
+ require "shared_infrastructure/runner/base"
16
+ require "shared_infrastructure/runner/reverse_proxy"
17
+ require "shared_infrastructure/runner/static_site"
18
+ require "shared_infrastructure/runner/rails"
19
+ require "shared_infrastructure/systemd/systemd"
20
+ require "shared_infrastructure/systemd/rails"
21
+ require "shared_infrastructure/version"
metadata CHANGED
@@ -1,32 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shared-infrastructure
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Larry Reid
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-26 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: chandler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
11
+ date: 2024-02-18 00:00:00.000000000 Z
12
+ dependencies: []
27
13
  description: 'For static sites, Rails apps, and reverse proxies.
28
14
 
29
- '
15
+ '
30
16
  email: lcreid@jadesystems.ca
31
17
  executables:
32
18
  - create-server-block
@@ -61,7 +47,7 @@ homepage: https://github.com/weenhanceit/infrastructure
61
47
  licenses:
62
48
  - MIT
63
49
  metadata: {}
64
- post_install_message:
50
+ post_install_message:
65
51
  rdoc_options: []
66
52
  require_paths:
67
53
  - lib
@@ -76,9 +62,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
62
  - !ruby/object:Gem::Version
77
63
  version: '0'
78
64
  requirements: []
79
- rubyforge_project:
80
- rubygems_version: 2.5.2.1
81
- signing_key:
65
+ rubygems_version: 3.5.3
66
+ signing_key:
82
67
  specification_version: 4
83
68
  summary: Configure nginx, systemd, and/or Puma
84
69
  test_files: []