Skip to content

Commit

Permalink
Fix/remotes (#31)
Browse files Browse the repository at this point in the history
* Fix typo

* Fix typo

---------

Co-authored-by: Santosh Bandichode <[email protected]>
  • Loading branch information
techntools and Santosh Bandichode authored Nov 19, 2023
1 parent 70aab72 commit 031b307
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/remotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ When `known_proxies` is not provided, it is set by default to handle `localhost`

## Handling trusted hosts
When forwarded headers middlewares are not used, but it is necessary to
validated hosts, it is possible to use the `TrustedHostsMiddleware`:
validate hosts, it is possible to use the `TrustedHostsMiddleware`:

```python
from blacksheep import Application
Expand Down Expand Up @@ -172,7 +172,7 @@ absolute_url_to_path = get_absolute_url_to_path(request, "/example")

!!! warning
When configuring [OpenID Connect](../authentication/#oidc) authentication,
it can be necessary to handle forward headers, so that the application can
it can be necessary to handle forwarded headers, so that the application can
generate correct `redirect_uri` for authorization servers.

## ASGI root_path
Expand Down

0 comments on commit 031b307

Please sign in to comment.