Add YARP to Kestrel Reverse Proxies list (#25310)
* Add YARP to Kestrel Reverse Proxies list * Add updated images * Update ms.date * Add updated images * Use :::image::: for border Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>pull/25495/head
parent
c6121f88d9
commit
6f95ad16b7
|
@ -5,7 +5,7 @@ description: Learn about Kestrel, the cross-platform web server for ASP.NET Core
|
|||
monikerRange: '>= aspnetcore-3.1'
|
||||
ms.author: riande
|
||||
ms.custom: mvc
|
||||
ms.date: 05/04/2020
|
||||
ms.date: 04/01/2022
|
||||
no-loc: [".NET MAUI", "Mac Catalyst", "Blazor Hybrid", Home, Privacy, Kestrel, appsettings.json, "ASP.NET Core Identity", cookie, Cookie, Blazor, "Blazor Server", "Blazor WebAssembly", "Identity", "Let's Encrypt", Razor, SignalR]
|
||||
uid: fundamentals/servers/kestrel
|
||||
---
|
||||
|
@ -153,15 +153,20 @@ Starting with .NET Core 3.0, HTTP/2 is enabled by default. For more information
|
|||
|
||||
## When to use Kestrel with a reverse proxy
|
||||
|
||||
Kestrel can be used by itself or with a *reverse proxy server*, such as [Internet Information Services (IIS)](https://www.iis.net/), [Nginx](https://nginx.org), or [Apache](https://httpd.apache.org/). A reverse proxy server receives HTTP requests from the network and forwards them to Kestrel.
|
||||
Kestrel can be used by itself or with a *reverse proxy server*. A reverse proxy server receives HTTP requests from the network and forwards them to Kestrel. Examples of a reverse proxy server include:
|
||||
|
||||
* [Internet Information Services (IIS)](https://www.iis.net/)
|
||||
* [Nginx](https://nginx.org)
|
||||
* [Apache](https://httpd.apache.org/)
|
||||
* [YARP: Yet Another Reverse Proxy](https://microsoft.github.io/reverse-proxy/)
|
||||
|
||||
Kestrel used as an edge (Internet-facing) web server:
|
||||
|
||||
![Kestrel communicates directly with the Internet without a reverse proxy server](kestrel/_static/kestrel-to-internet2.png)
|
||||
:::image source="kestrel/_static/kestrel-to-internet2.png" alt-text="Kestrel communicates directly with the Internet without a reverse proxy server":::
|
||||
|
||||
Kestrel used in a reverse proxy configuration:
|
||||
|
||||
![Kestrel communicates indirectly with the Internet through a reverse proxy server, such as IIS, Nginx, or Apache](kestrel/_static/kestrel-to-internet.png)
|
||||
:::image source="kestrel/_static/kestrel-to-internet.png" alt-text="Kestrel communicates indirectly with the Internet through a reverse proxy server, such as IIS, Nginx, or Apache":::
|
||||
|
||||
Either configuration, with or without a reverse proxy server, is a supported hosting configuration.
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 11 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 6.6 KiB |
|
@ -5,22 +5,27 @@ description: Learn about when to use a reverse proxy in front of Kestrel, the cr
|
|||
monikerRange: '>= aspnetcore-5.0'
|
||||
ms.author: riande
|
||||
ms.custom: mvc
|
||||
ms.date: 01/14/2021
|
||||
ms.date: 04/01/2022
|
||||
no-loc: [".NET MAUI", "Mac Catalyst", "Blazor Hybrid", Home, Privacy, Kestrel, appsettings.json, "ASP.NET Core Identity", cookie, Cookie, Blazor, "Blazor Server", "Blazor WebAssembly", "Identity", "Let's Encrypt", Razor, SignalR]
|
||||
uid: fundamentals/servers/kestrel/when-to-use-a-reverse-proxy
|
||||
---
|
||||
|
||||
# When to use Kestrel with a reverse proxy
|
||||
|
||||
Kestrel can be used by itself or with a *reverse proxy server*, such as [Internet Information Services (IIS)](https://www.iis.net/), [Nginx](https://nginx.org), or [Apache](https://httpd.apache.org/). A reverse proxy server receives HTTP requests from the network and forwards them to Kestrel.
|
||||
Kestrel can be used by itself or with a *reverse proxy server*. A reverse proxy server receives HTTP requests from the network and forwards them to Kestrel. Examples of a reverse proxy server include:
|
||||
|
||||
* [Internet Information Services (IIS)](https://www.iis.net/)
|
||||
* [Nginx](https://nginx.org)
|
||||
* [Apache](https://httpd.apache.org/)
|
||||
* [YARP: Yet Another Reverse Proxy](https://microsoft.github.io/reverse-proxy/)
|
||||
|
||||
Kestrel used as an edge (Internet-facing) web server:
|
||||
|
||||
![Kestrel communicates directly with the Internet without a reverse proxy server](_static/kestrel-to-internet2.png)
|
||||
:::image source="_static/kestrel-to-internet2.png" alt-text="Kestrel communicates directly with the Internet without a reverse proxy server":::
|
||||
|
||||
Kestrel used in a reverse proxy configuration:
|
||||
|
||||
![Kestrel communicates indirectly with the Internet through a reverse proxy server, such as IIS, Nginx, or Apache](_static/kestrel-to-internet.png)
|
||||
:::image source="_static/kestrel-to-internet.png" alt-text="Kestrel communicates indirectly with the Internet through a reverse proxy server, such as IIS, Nginx, or Apache":::
|
||||
|
||||
Either configuration, with or without a reverse proxy server, is a supported hosting configuration.
|
||||
|
||||
|
|
Loading…
Reference in New Issue