You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
-
# Caddy Thruster
1
+
# Caddy Rails
2
2
3
3
CaddyRails is a reverse proxy module for Ruby on Rails designed to integrate with Caddy, facilitating features like reverse proxying, automatic HTTPS, compression, and more.
4
4
5
5
## Features
6
6
7
7
-**Reverse Proxy:** Simplifies forwarding requests to your application.
8
8
-**Automatic HTTPS:** Automatically manages SSL/TLS certificates. (Currently in progress)
9
-
-**Compression:** Supports Gzip, Brotli and Zstd for reducing data transfer sizes.
9
+
-**Compression:** Supports Gzip, and Zstd for reducing data transfer sizes.
10
10
-**Access Logging:** Enables detailed logging of incoming requests.
11
11
-**Connection Timeouts:** Customizable read, write, and idle timeouts for connections.
12
12
-**Debugging:** Provides extensive debug logs to troubleshoot issues.
@@ -32,14 +32,14 @@ The tool sets up a reverse proxy automatically.
32
32
```
33
33
34
34
### Command Line Arguments
35
-
-`--target-port`: The port that your server should run on. ProxyRunner will set the PORT environment variable to this value. Default: `3000`.
35
+
-`--target-port`: The port that your server should run on. caddy-server will set this value to the PORT environment variable. Default: `3000`.
36
36
-`--http-port`: The port to listen on for HTTP traffic. Default: `80`.
37
37
-`--https-port`: The port to listen on for HTTPS traffic. Default: `443`.
38
38
-`-l, --listen`: The address to which to bind the listener. Default: `localhost`.
39
-
-`--ssl-domain`: The domain name to use for SSL provisioning. If not set, SSL will be disabled. (in progress)
39
+
-`--ssl-domain`: The domain name to use for SSL provisioning. If not set, SSL will be disabled.
40
40
-`-v, --debug`: Enable verbose debug logs.
41
41
-`--access-log`: Enable the access log. Default: `true`.
42
-
-`--no-compress`: Disable Brotli, Zstandard and Gzip compression
42
+
-`--no-compress`: Disable Zstandard and Gzip compression
43
43
-`--http-idle-timeout`: The maximum time a client can be idle before the connection is closed. Default: `60s`.
44
44
-`--http-read-timeout`: The maximum time a client can take to send the request headers. Default: `30s`.
45
45
-`--http-write-timeout`: The maximum time during which the client must read the response. Default: `30s`.
@@ -67,7 +67,6 @@ This command creates a Caddyfile in the specified directory, tailoring it with o
67
67
-`--access-log`: Enable the access log. Default: `true`
68
68
-`--ssl-domain`: The domain name for SSL. If empty, SSL is disabled
69
69
-`--backend-port`: THe port that the backend service listens on. Default is `8080`
cmd.Flags().String("server-type", "puma", "The type of server (puma or unicorn) to control")
28
-
cmd.Flags().Int("target-port", 3000, "The port that your server should run on. ProxyRunner will set PORT to this value when starting your server.")
28
+
cmd.Flags().Int("target-port", 3000, "The port that your server should run on. caddy-rails will set this values to the PORT env variable when starting your server.")
29
29
cmd.Flags().Int("http-port", 80, "The port to listen on for HTTP traffic.")
30
30
cmd.Flags().Int("https-port", 443, "The port to listen on for HTTPS traffic.")
31
31
cmd.Flags().StringP("listen", "l", "localhost", "The address to which to bind the listener")
0 commit comments