diff --git a/aspnetcore/fundamentals/servers/kestrel.md b/aspnetcore/fundamentals/servers/kestrel.md index ad666ebd44..c98f6747eb 100644 --- a/aspnetcore/fundamentals/servers/kestrel.md +++ b/aspnetcore/fundamentals/servers/kestrel.md @@ -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. diff --git a/aspnetcore/fundamentals/servers/kestrel/_static/kestrel-to-internet.png b/aspnetcore/fundamentals/servers/kestrel/_static/kestrel-to-internet.png index 8b92052e90..1a0d26b474 100644 Binary files a/aspnetcore/fundamentals/servers/kestrel/_static/kestrel-to-internet.png and b/aspnetcore/fundamentals/servers/kestrel/_static/kestrel-to-internet.png differ diff --git a/aspnetcore/fundamentals/servers/kestrel/_static/kestrel-to-internet2.png b/aspnetcore/fundamentals/servers/kestrel/_static/kestrel-to-internet2.png index e22487084f..5d1103821e 100644 Binary files a/aspnetcore/fundamentals/servers/kestrel/_static/kestrel-to-internet2.png and b/aspnetcore/fundamentals/servers/kestrel/_static/kestrel-to-internet2.png differ diff --git a/aspnetcore/fundamentals/servers/kestrel/when-to-use-a-reverse-proxy.md b/aspnetcore/fundamentals/servers/kestrel/when-to-use-a-reverse-proxy.md index fc4282f48a..093622f02b 100644 --- a/aspnetcore/fundamentals/servers/kestrel/when-to-use-a-reverse-proxy.md +++ b/aspnetcore/fundamentals/servers/kestrel/when-to-use-a-reverse-proxy.md @@ -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.