anycable-thruster 0.1.3-x86_64-linux → 0.1.8-x86_64-linux

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
  SHA256:
3
- metadata.gz: 8606d7b9b3eeb026e2d417bae2d916f5267bb652b41c075be67eeeb76674c172
4
- data.tar.gz: be9e0b263f11be2bc16c83ee13274a86f6c156bb4b7a688e0fff4214fa7d3a4d
3
+ metadata.gz: 24a7a09ce7acf51cab86e923fc3f61be3fc0147f067bfaa302bca52b0a06f6c0
4
+ data.tar.gz: df42807fba221f993a02ae4386cf61c67828fc65084ac40e7b0e1ee355e395c2
5
5
  SHA512:
6
- metadata.gz: bf825e995bd23c62d0d25721dc5c6c6b631dbde6cdb34a6ac0fd78f3ce6eb2a7ef6fb017c52d79a9aaae1c9b519342639d80e7f8238cf56b638e8bca79e0606b
7
- data.tar.gz: 73f3f8c8071f14acf16fb2c44389007c4c72737b9cb279ff2975d91d424c632236366450f790205b99946c1c9dbe8fce97a778d5c616c66e72357845254fc19a
6
+ metadata.gz: 7ee14464dedd6685dd60e773bf67a1bc59744cf5980155c37063b2f4a3014445a02ac6a24b44957e3139d5c1d0b37d5549eeea9be1b12ad4fbdf9388fcf41395
7
+ data.tar.gz: a898d416575008ed57c294572338e2027eccd34c033baeac3b88136e65ced3496c9840f099f655208316ac90eadfdbd535255d4c727988dc5bb8d790a4388028
data/README.md CHANGED
@@ -36,7 +36,7 @@ applications. It runs alongside the Puma webserver to provide a few additional
36
36
  features that help your app run efficiently and safely on the open Internet:
37
37
 
38
38
  - HTTP/2 support
39
- - Automatic SSL certificate management with Let's Encrypt
39
+ - Automatic TLS certificate management with Let's Encrypt
40
40
  - Basic HTTP caching of public assets
41
41
  - X-Sendfile support and compression, to efficiently serve static files
42
42
 
@@ -45,9 +45,9 @@ and most features are automatically enabled with sensible defaults. The goal is
45
45
  that simply running your Puma server with Thruster should be enough to get a
46
46
  production-ready setup.
47
47
 
48
- The only exception to this is SSL provisioning: in order for Thruster to
49
- provision SSL certificates, it needs to know which domain those certificates
50
- should be for. So to use SSL, you need to set the `SSL_DOMAIN` environment
48
+ The only exception to this is TLS provisioning: in order for Thruster to
49
+ provision TLS certificates, it needs to know which domain those certificates
50
+ should be for. So to use TLS, you need to set the `TLS_DOMAIN` environment
51
51
  variable. If you don't set this variable, Thruster will run in HTTP-only mode.
52
52
 
53
53
  Thruster also wraps the Puma process so that you can use it without managing
@@ -90,10 +90,10 @@ with `thrust`. For example:
90
90
  $ thrust bin/rails server
91
91
  ```
92
92
 
93
- Or with automatic SSL:
93
+ Or with automatic TLS:
94
94
 
95
95
  ```sh
96
- $ SSL_DOMAIN=myapp.example.com thrust bin/rails server
96
+ $ TLS_DOMAIN=myapp.example.com thrust bin/rails server
97
97
  ```
98
98
 
99
99
 
@@ -103,27 +103,28 @@ In most cases, Thruster should work out of the box with no additional
103
103
  configuration. But if you need to customize its behavior, there are a few
104
104
  environment variables that you can set.
105
105
 
106
- | Variable Name | Description | Default Value |
107
- |-----------------------|---------------------------------------------------------------------------------|---------------|
108
- | `SSL_DOMAIN` | The domain name to use for SSL provisioning. If not set, SSL will be disabled. | None |
106
+ | Variable Name | Description | Default Value |
107
+ |-----------------------|---------------------------------------------------------|---------------|
108
+ | `TLS_DOMAIN` | Comma-separated list of domain names to use for TLS provisioning. If not set, TLS will be disabled. | None |
109
109
  | `TARGET_PORT` | The port that your Puma server should run on. Thruster will set `PORT` to this value when starting your server. | 3000 |
110
- | `CACHE_SIZE` | The size of the HTTP cache in bytes. | 64MB |
111
- | `MAX_CACHE_ITEM_SIZE` | The maximum size of a single item in the HTTP cache in bytes. | 1MB |
112
- | `X_SENDFILE_ENABLED` | Whether to enable X-Sendfile support. Set to `0` or `false` to disable. | Enabled |
110
+ | `CACHE_SIZE` | The size of the HTTP cache in bytes. | 64MB |
111
+ | `MAX_CACHE_ITEM_SIZE` | The maximum size of a single item in the HTTP cache in bytes. | 1MB |
112
+ | `X_SENDFILE_ENABLED` | Whether to enable X-Sendfile support. Set to `0` or `false` to disable. | Enabled |
113
113
  | `MAX_REQUEST_BODY` | The maximum size of a request body in bytes. Requests larger than this size will be refused; `0` means no maximum size is enforced. | `0` |
114
- | `STORAGE_PATH` | The path to store Thruster's internal state. Provisioned SSL certificates will be stored here, so that they will not need to be requested every time your application is started. | `./storage/thruster` |
114
+ | `STORAGE_PATH` | The path to store Thruster's internal state. Provisioned TLS certificates will be stored here, so that they will not need to be requested every time your application is started. | `./storage/thruster` |
115
115
  | `BAD_GATEWAY_PAGE` | Path to an HTML file to serve when the backend server returns a 502 Bad Gateway error. If there is no file at the specific path, Thruster will serve an empty 502 response instead. Because Thruster boots very quickly, a custom page can be a useful way to show that your application is starting up. | `./public/502.html` |
116
- | `HTTP_PORT` | The port to listen on for HTTP traffic. | 80 |
117
- | `HTTPS_PORT` | The port to listen on for HTTPS traffic. | 443 |
116
+ | `HTTP_PORT` | The port to listen on for HTTP traffic. | 80 |
117
+ | `HTTPS_PORT` | The port to listen on for HTTPS traffic. | 443 |
118
118
  | `HTTP_IDLE_TIMEOUT` | The maximum time in seconds that a client can be idle before the connection is closed. | 60 |
119
- | `HTTP_READ_TIMEOUT` | The maximum time in seconds that a client can take to send the request headers. | 30 |
120
- | `HTTP_WRITE_TIMEOUT` | The maximum time in seconds during which the client must read the response. | 30 |
121
- | `ACME_DIRECTORY` | The URL of the ACME directory to use for SSL certificate provisioning. | `https://acme-v02.api.letsencrypt.org/directory` (Let's Encrypt production) |
122
- | `EAB_KID` | The EAB key identifier to use when provisioning SSL certificates, if required. | None |
123
- | `EAB_HMAC_KEY` | The Base64-encoded EAB HMAC key to use when provisioning SSL certificates, if required. | None |
124
- | `DEBUG` | Set to `1` or `true` to enable debug logging. | Disabled |
119
+ | `HTTP_READ_TIMEOUT` | The maximum time in seconds that a client can take to send the request headers and body. | 30 |
120
+ | `HTTP_WRITE_TIMEOUT` | The maximum time in seconds during which the client must read the response. | 30 |
121
+ | `ACME_DIRECTORY` | The URL of the ACME directory to use for TLS certificate provisioning. | `https://acme-v02.api.letsencrypt.org/directory` (Let's Encrypt production) |
122
+ | `EAB_KID` | The EAB key identifier to use when provisioning TLS certificates, if required. | None |
123
+ | `EAB_HMAC_KEY` | The Base64-encoded EAB HMAC key to use when provisioning TLS certificates, if required. | None |
124
+ | `FORWARD_HEADERS` | Whether to forward X-Forwarded-* headers from the client. | Disabled when running with TLS; enabled otherwise |
125
+ | `DEBUG` | Set to `1` or `true` to enable debug logging. | Disabled |
125
126
 
126
127
  To prevent naming clashes with your application's own environment variables,
127
128
  Thruster's environment variables can optionally be prefixed with `THRUSTER_`.
128
- For example, `SSL_DOMAIN` can also be written as `THRUSTER_SSL_DOMAIN`. Whenever
129
+ For example, `TLS_DOMAIN` can also be written as `THRUSTER_TLS_DOMAIN`. Whenever
129
130
  a prefixed variable is set, it will take precedence over the unprefixed version.
Binary file
@@ -2,7 +2,7 @@ require_relative "../../thruster/version"
2
2
 
3
3
  module AnyCable
4
4
  module Thruster
5
- VERSION = "0.1.3"
5
+ VERSION = "0.1.8"
6
6
 
7
7
  # Very basic validation to ensure the versions are in sync
8
8
  if ::Thruster::VERSION.split(".").take(2) != VERSION.split(".").take(2)
@@ -1,3 +1,3 @@
1
1
  module Thruster
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anycable-thruster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.8
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Kevin McConnell
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2024-04-04 00:00:00.000000000 Z
13
+ date: 2024-10-16 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: A zero-config HTTP/2 proxy for lightweight production deployments with
16
16
  AnyCable real-time server included
@@ -48,7 +48,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
48
48
  - !ruby/object:Gem::Version
49
49
  version: '0'
50
50
  requirements: []
51
- rubygems_version: 3.4.20
51
+ rubygems_version: 3.5.18
52
52
  signing_key:
53
53
  specification_version: 4
54
54
  summary: Zero-config HTTP/2 proxy with embedded AnyCable