File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ Uvicorn can use these headers to correctly set the client and protocol in the re
376376However as anyone can set these headers you must configure which "clients" you will trust to have set them correctly.
377377
378378Uvicorn can be configured to trust IP Addresses (e.g. ` 127.0.0.1 ` ), IP Networks (e.g. ` 10.100.0.0/16 ` ),
379- or Literals (e.g. ` /path/to/socket.sock ` ). When running from CLI these are configured using ` --forwarded-trust -ips ` .
379+ or Literals (e.g. ` /path/to/socket.sock ` ). When running from CLI these are configured using ` --forwarded-allow -ips ` .
380380
381381!!! Warning "Only trust clients you can actually trust!"
382382 Incorrectly trusting other clients can lead to malicious actors spoofing their apparent client address to your application.
You can’t perform that action at this time.
0 commit comments