Skip to content

Commit

Permalink
Fix documentation typo for the --trusted-proxy-headers flag
Browse files Browse the repository at this point in the history
  • Loading branch information
kgaughan committed Nov 24, 2024
1 parent 2a1524a commit 7a19337
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/runner.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Common options:

Default: ``1``

``--trusted_proxy_headers=LIST``
``--trusted-proxy-headers=LIST``
Which of the proxy headers should we trust, this is a set where you
either specify "forwarded" or one or more of "x-forwarded-host", "x-forwarded-for",
"x-forwarded-proto", "x-forwarded-port", "x-forwarded-by".
Expand Down
2 changes: 1 addition & 1 deletion src/waitress/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
Default: 1
--trusted_proxy_headers=LIST
--trusted-proxy-headers=LIST
Which of the proxy headers should we trust, this is a set where you
either specify "forwarded" or one or more of "x-forwarded-host",
"x-forwarded-for", "x-forwarded-proto", "x-forwarded-port",
Expand Down

0 comments on commit 7a19337

Please sign in to comment.