Skip to content

Commit

Permalink
Merge pull request Pylons#458 from kgaughan/typo
Browse files Browse the repository at this point in the history
Fix documentation typo for the --trusted-proxy-headers flag
  • Loading branch information
mmerickel authored Nov 25, 2024
2 parents 2a1524a + 7a19337 commit fc592e8
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 fc592e8

Please sign in to comment.