Skip to content

Commit fc592e8

Browse files
authored
Merge pull request #458 from kgaughan/typo
Fix documentation typo for the --trusted-proxy-headers flag
2 parents 2a1524a + 7a19337 commit fc592e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/runner.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Common options:
170170

171171
Default: ``1``
172172

173-
``--trusted_proxy_headers=LIST``
173+
``--trusted-proxy-headers=LIST``
174174
Which of the proxy headers should we trust, this is a set where you
175175
either specify "forwarded" or one or more of "x-forwarded-host", "x-forwarded-for",
176176
"x-forwarded-proto", "x-forwarded-port", "x-forwarded-by".

src/waitress/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
149149
Default: 1
150150
151-
--trusted_proxy_headers=LIST
151+
--trusted-proxy-headers=LIST
152152
Which of the proxy headers should we trust, this is a set where you
153153
either specify "forwarded" or one or more of "x-forwarded-host",
154154
"x-forwarded-for", "x-forwarded-proto", "x-forwarded-port",

0 commit comments

Comments
 (0)