Skip to content

Commit a7d26bb

Browse files
authored
Add missing documentation about date and server header CLI options (encode#1194)
1 parent 68ef9a1 commit a7d26bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/settings.md

+2
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ Note that WSGI mode always disables WebSocket support, as it is not supported by
6363
* `--proxy-headers` / `--no-proxy-headers` - Enable/Disable X-Forwarded-Proto, X-Forwarded-For, X-Forwarded-Port to populate remote address info. Defaults to enabled, but is restricted to only trusting
6464
connecting IPs in the `forwarded-allow-ips` configuration.
6565
* `--forwarded-allow-ips` <comma-separated-list> Comma separated list of IPs to trust with proxy headers. Defaults to the `$FORWARDED_ALLOW_IPS` environment variable if available, or '127.0.0.1'. A wildcard '*' means always trust.
66+
* `--server-header` / `--no-server-header` - Enable/Disable default `Server` header.
67+
* `--date-header` / `--no-date-header` - Enable/Disable default `Date` header.
6668

6769
## HTTPS
6870

0 commit comments

Comments
 (0)