thruster 0.1.3-arm64-darwin → 0.1.5-arm64-darwin

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
  SHA256:
3
- metadata.gz: 6e8412002180f3bbdc49e1af8774eccafd14630ffcc53e5b09b2bcf54efc86f8
4
- data.tar.gz: 2321693def0f6741c0f2dbf3802f5594569174b2df6e3ad44e4190584967172c
3
+ metadata.gz: d6e12f3695f98874ac9f414e65b58f9cf3663b011c1d9e43c7d7d71ecc30a7a6
4
+ data.tar.gz: 269f0fefada2a024fc5c20437194f06637afd52ed5389e6273f17268ea807275
5
5
  SHA512:
6
- metadata.gz: c4b5432a28b5733146b4817fdc13d63f5090138611c2b4d6aad9e5605afef19b2b2e4295c355078d9fcd032ace2c735cf76033ff47cd5e595935341c1e1038b8
7
- data.tar.gz: a281e4f3ff83443bf079dbf048a9c167d846c23dbd93aef50b4cb8dc6aa55563f432b8d61374bc79c305efac9d5391c8163ba28f44b99baeb9bfffb1cf6f1a2d
6
+ metadata.gz: 3934c4d54b5190997e7bfce5ba87dc234ea9f76260f36d4e63982936b4631c4dd4e6fd150e799ec1175909e13cb7095459a1c363d698b8b9822dbfccdea49ee5
7
+ data.tar.gz: 79e6129ca6d9748b3ab8cfb27b7245d1cf50654f2ff1b0e8a7c249f678c221d5a437f73941891364f3b6a5ff5f8bb42ac2a1f1dcff0bf6c149fe2acd0436fdcd
data/README.md CHANGED
@@ -5,7 +5,7 @@ applications. It runs alongside the Puma webserver to provide a few additional
5
5
  features that help your app run efficiently and safely on the open Internet:
6
6
 
7
7
  - HTTP/2 support
8
- - Automatic SSL certificate management with Let's Encrypt
8
+ - Automatic TLS certificate management with Let's Encrypt
9
9
  - Basic HTTP caching of public assets
10
10
  - X-Sendfile support and compression, to efficiently serve static files
11
11
 
@@ -14,9 +14,9 @@ and most features are automatically enabled with sensible defaults. The goal is
14
14
  that simply running your Puma server with Thruster should be enough to get a
15
15
  production-ready setup.
16
16
 
17
- The only exception to this is SSL provisioning: in order for Thruster to
18
- provision SSL certificates, it needs to know which domain those certificates
19
- should be for. So to use SSL, you need to set the `SSL_DOMAIN` environment
17
+ The only exception to this is TLS provisioning: in order for Thruster to
18
+ provision TLS certificates, it needs to know which domain those certificates
19
+ should be for. So to use TLS, you need to set the `TLS_DOMAIN` environment
20
20
  variable. If you don't set this variable, Thruster will run in HTTP-only mode.
21
21
 
22
22
  Thruster also wraps the Puma process so that you can use it without managing
@@ -59,10 +59,10 @@ with `thrust`. For example:
59
59
  $ thrust bin/rails server
60
60
  ```
61
61
 
62
- Or with automatic SSL:
62
+ Or with automatic TLS:
63
63
 
64
64
  ```sh
65
- $ SSL_DOMAIN=myapp.example.com thrust bin/rails server
65
+ $ TLS_DOMAIN=myapp.example.com thrust bin/rails server
66
66
  ```
67
67
 
68
68
 
@@ -72,27 +72,27 @@ In most cases, Thruster should work out of the box with no additional
72
72
  configuration. But if you need to customize its behavior, there are a few
73
73
  environment variables that you can set.
74
74
 
75
- | Variable Name | Description | Default Value |
76
- |-----------------------|---------------------------------------------------------------------------------|---------------|
77
- | `SSL_DOMAIN` | The domain name to use for SSL provisioning. If not set, SSL will be disabled. | None |
78
- | `TARGET_PORT` | The port that your Puma server should run on. Thruster will set `PORT` to this value when starting your server. | 3000 |
79
- | `CACHE_SIZE` | The size of the HTTP cache in bytes. | 64MB |
80
- | `MAX_CACHE_ITEM_SIZE` | The maximum size of a single item in the HTTP cache in bytes. | 1MB |
81
- | `X_SENDFILE_ENABLED` | Whether to enable X-Sendfile support. Set to `0` or `false` to disable. | Enabled |
82
- | `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` |
83
- | `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` |
75
+ | Variable Name | Description | Default Value |
76
+ |-----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|
77
+ | `TLS_DOMAIN` | Comma-separated list of domain names to use for TLS provisioning. If not set, TLS will be disabled. | None |
78
+ | `TARGET_PORT` | The port that your Puma server should run on. Thruster will set `PORT` to this value when starting your server. | 3000 |
79
+ | `CACHE_SIZE` | The size of the HTTP cache in bytes. | 64MB |
80
+ | `MAX_CACHE_ITEM_SIZE` | The maximum size of a single item in the HTTP cache in bytes. | 1MB |
81
+ | `X_SENDFILE_ENABLED` | Whether to enable X-Sendfile support. Set to `0` or `false` to disable. | Enabled |
82
+ | `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` |
83
+ | `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` |
84
84
  | `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` |
85
- | `HTTP_PORT` | The port to listen on for HTTP traffic. | 80 |
86
- | `HTTPS_PORT` | The port to listen on for HTTPS traffic. | 443 |
87
- | `HTTP_IDLE_TIMEOUT` | The maximum time in seconds that a client can be idle before the connection is closed. | 60 |
88
- | `HTTP_READ_TIMEOUT` | The maximum time in seconds that a client can take to send the request headers. | 30 |
89
- | `HTTP_WRITE_TIMEOUT` | The maximum time in seconds during which the client must read the response. | 30 |
90
- | `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) |
91
- | `EAB_KID` | The EAB key identifier to use when provisioning SSL certificates, if required. | None |
92
- | `EAB_HMAC_KEY` | The Base64-encoded EAB HMAC key to use when provisioning SSL certificates, if required. | None |
93
- | `DEBUG` | Set to `1` or `true` to enable debug logging. | Disabled |
85
+ | `HTTP_PORT` | The port to listen on for HTTP traffic. | 80 |
86
+ | `HTTPS_PORT` | The port to listen on for HTTPS traffic. | 443 |
87
+ | `HTTP_IDLE_TIMEOUT` | The maximum time in seconds that a client can be idle before the connection is closed. | 60 |
88
+ | `HTTP_READ_TIMEOUT` | The maximum time in seconds that a client can take to send the request headers and body. | 30 |
89
+ | `HTTP_WRITE_TIMEOUT` | The maximum time in seconds during which the client must read the response. | 30 |
90
+ | `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) |
91
+ | `EAB_KID` | The EAB key identifier to use when provisioning TLS certificates, if required. | None |
92
+ | `EAB_HMAC_KEY` | The Base64-encoded EAB HMAC key to use when provisioning TLS certificates, if required. | None |
93
+ | `DEBUG` | Set to `1` or `true` to enable debug logging. | Disabled |
94
94
 
95
95
  To prevent naming clashes with your application's own environment variables,
96
96
  Thruster's environment variables can optionally be prefixed with `THRUSTER_`.
97
- For example, `SSL_DOMAIN` can also be written as `THRUSTER_SSL_DOMAIN`. Whenever
97
+ For example, `TLS_DOMAIN` can also be written as `THRUSTER_TLS_DOMAIN`. Whenever
98
98
  a prefixed variable is set, it will take precedence over the unprefixed version.
Binary file
@@ -1,3 +1,3 @@
1
1
  module Thruster
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thruster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Kevin McConnell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-21 00:00:00.000000000 Z
11
+ date: 2024-07-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A zero-config HTTP/2 proxy for lightweight production deployments
14
14
  email: kevin@37signals.com