thruster 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -19
  3. data/lib/thruster/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 326c153555635cbbada3fe2951b8954a8a58da420366d4f3a050a855e104b195
4
- data.tar.gz: 5c611487f138d76f95eda35828a2327d8ad671a708f5dc9572c828c738642bc4
3
+ metadata.gz: 26dfad7d84e7aa63ef9f2fab2961570aec9ef35130be0ad92126a7254a9003f6
4
+ data.tar.gz: 91799bdeea969a4ccf7cd86ef7db3f2949a912a40c1ad6176e9cf55f9901c852
5
5
  SHA512:
6
- metadata.gz: b5c51428d5b38db1062e7097a005c4dfce1d78280e26bc582d512adf81684f2ce93980701b65e3be0d8467647ed394c35b7c802bcad80efd5462912a1f43e5ec
7
- data.tar.gz: ee5100fecea70dabfa456650fba010f3adea88730820675f6c7d076c554083114bab1f1a8a1098bdf033e3c012dba939b62dd68bcd4bbdb15a3704f9aa616309
6
+ metadata.gz: 4272d5a58f66782df18b1c19572a6712c40b7928c25d9a3db19bb30d89fdc3fd01140a6952a57d807d796777e97d8aa2d7414ebdef2ddc7c561db0fa722d503e
7
+ data.tar.gz: 92ad70fd6433884ee77d258d7f33f38beb2dcd27cef70b13ecfd59457a1d9d8a9a9744cf9ed1e4375a7030f29f172c535161fdc4267e7e782bca612e345d5cc4
data/README.md CHANGED
@@ -73,25 +73,26 @@ configuration. But if you need to customize its behavior, there are a few
73
73
  environment variables that you can set.
74
74
 
75
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
- | `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 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
- | `FORWARD_HEADERS` | Whether to forward X-Forwarded-* headers from the client. | Disabled when running with TLS; enabled otherwise |
94
- | `DEBUG` | Set to `1` or `true` to enable debug logging. | Disabled |
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
+ | `GZIP_COMPRESSION_ENABLED` | Whether to enable gzip compression for static assets. Set to `0` or `false` to disable. | Enabled |
82
+ | `X_SENDFILE_ENABLED` | Whether to enable X-Sendfile support. Set to `0` or `false` to disable. | Enabled |
83
+ | `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` |
84
+ | `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` |
85
+ | `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` |
86
+ | `HTTP_PORT` | The port to listen on for HTTP traffic. | 80 |
87
+ | `HTTPS_PORT` | The port to listen on for HTTPS traffic. | 443 |
88
+ | `HTTP_IDLE_TIMEOUT` | The maximum time in seconds that a client can be idle before the connection is closed. | 60 |
89
+ | `HTTP_READ_TIMEOUT` | The maximum time in seconds that a client can take to send the request headers and body. | 30 |
90
+ | `HTTP_WRITE_TIMEOUT` | The maximum time in seconds during which the client must read the response. | 30 |
91
+ | `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) |
92
+ | `EAB_KID` | The EAB key identifier to use when provisioning TLS certificates, if required. | None |
93
+ | `EAB_HMAC_KEY` | The Base64-encoded EAB HMAC key to use when provisioning TLS certificates, if required. | None |
94
+ | `FORWARD_HEADERS` | Whether to forward X-Forwarded-* headers from the client. | Disabled when running with TLS; enabled otherwise |
95
+ | `DEBUG` | Set to `1` or `true` to enable debug logging. | Disabled |
95
96
 
96
97
  To prevent naming clashes with your application's own environment variables,
97
98
  Thruster's environment variables can optionally be prefixed with `THRUSTER_`.
@@ -1,3 +1,3 @@
1
1
  module Thruster
2
- VERSION = "0.1.10"
2
+ VERSION = "0.1.11"
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.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin McConnell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-06 00:00:00.000000000 Z
11
+ date: 2025-02-11 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