Skip to content

Commit ce32229

Browse files
committed
update readme
1 parent d2d8aff commit ce32229

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ variables (or a combination of the two):
9292
| Argument| Env var | Documentation | Default |
9393
| - | - | - | - |
9494
| `-allowed-redirect-domains` | `ALLOWED_REDIRECT_DOMAINS` | Comma-separated list of domains the /redirect-to endpoint will allow | |
95+
| `-exclude-headers` | `EXCLUDE_HEADERS` | Drop platform-specific headers. Comma-separated list of headers key to drop, supporting wildcard suffix matching. For example: `"foo,bar,x-fc-*"` | - |
9596
| `-host` | `HOST` | Host to listen on | "0.0.0.0" |
9697
| `-https-cert-file` | `HTTPS_CERT_FILE` | HTTPS Server certificate file | |
9798
| `-https-key-file` | `HTTPS_KEY_FILE` | HTTPS Server private key file | |
@@ -100,8 +101,10 @@ variables (or a combination of the two):
100101
| `-max-duration` | `MAX_DURATION` | Maximum duration a response may take | 10s |
101102
| `-port` | `PORT` | Port to listen on | 8080 |
102103
| `-prefix` | `PREFIX` | Prefix of path to listen on (must start with slash and does not end with slash) | |
104+
| `-srv-max-header-bytes` | `SRV_MAX_HEADER_BYTES` | Value to use for the http.Server's MaxHeaderBytes option | 16384 |
105+
| `-srv-read-header-timeout` | `SRV_READ_HEADER_TIMEOUT` | Value to use for the http.Server's ReadHeaderTimeout option | 1s |
106+
| `-srv-read-timeout` | `SRV_READ_TIMEOUT` | Value to use for the http.Server's ReadTimeout option | 5s |
103107
| `-use-real-hostname` | `USE_REAL_HOSTNAME` | Expose real hostname as reported by os.Hostname() in the /hostname endpoint | false |
104-
| `-exclude-headers` | `EXCLUDE_HEADERS` | Drop platform-specific headers. Comma-separated list of headers key to drop, supporting wildcard suffix matching. For example: `"foo,bar,x-fc-*"` | - |
105108

106109
**Notes:**
107110
- Command line arguments take precedence over environment variables.

0 commit comments

Comments
 (0)