Skip to content

Commit

Permalink
Edit settings --uds argument description for clarity (#1218)
Browse files Browse the repository at this point in the history
* Edit settings --uds argument description for clarity

* include PR suggestion in docs/settings.md

Co-authored-by: Marcelo Trylesinski <[email protected]>

Co-authored-by: Marcelo Trylesinski <[email protected]>
  • Loading branch information
ryangallen and Kludex authored Oct 15, 2021
1 parent fe16ac1 commit 48edc94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ you should put `uvicorn.run` into `if __name__ == '__main__'` clause in the main

* `--host <str>` - Bind socket to this host. Use `--host 0.0.0.0` to make the application available on your local network. IPv6 addresses are supported, for example: `--host '::'`. **Default:** *'127.0.0.1'*.
* `--port <int>` - Bind to a socket with this port. **Default:** *8000*.
* `--uds <str>` - Bind to a UNIX domain socket. Useful if you want to run Uvicorn behind a reverse proxy.
* `--uds <path>` - Bind to a UNIX domain socket, for example `--uds /tmp/uvicorn.sock`. Useful if you want to run Uvicorn behind a reverse proxy.
* `--fd <int>` - Bind to socket from this file descriptor. Useful if you want to run Uvicorn within a process manager.

## Development
Expand Down

0 comments on commit 48edc94

Please sign in to comment.