|
1 | 1 | --- |
2 | 2 | title: Host ASP.NET Core on Linux with Nginx |
| 3 | +ai-usage: ai-assisted |
3 | 4 | author: tdykstra |
4 | 5 | description: Learn how to set up Nginx as a reverse proxy on Ubuntu, RHEL and SUSE to forward HTTP traffic to an ASP.NET Core web app running on Kestrel. |
5 | 6 | monikerRange: '>= aspnetcore-3.1' |
6 | 7 | ms.author: tdykstra |
7 | 8 | ms.custom: mvc, engagement-fy23, linux-related-content, sfi-ropc-nochange |
8 | | -ms.date: 5/8/2023 |
| 9 | +ms.date: 11/10/2025 |
9 | 10 | uid: host-and-deploy/linux-nginx |
10 | 11 | --- |
11 | 12 | # Host ASP.NET Core on Linux with Nginx |
@@ -123,7 +124,7 @@ For more information, see <xref:host-and-deploy/proxy-load-balancer>. |
123 | 124 |
|
124 | 125 | # [Ubuntu](#tab/linux-ubuntu) |
125 | 126 |
|
126 | | -Use `apt-get` to install Nginx. The installer creates a [`systemd`](https://systemd.io/) init script that runs Nginx as daemon on system startup. Follow the installation instructions for Ubuntu at [Nginx: Official Debian/Ubuntu packages](https://www.nginx.com/resources/wiki/start/topics/tutorials/install/#official-debian-ubuntu-packages). |
| 127 | +Use `apt-get` to install Nginx. The installer creates a [`systemd`](https://systemd.io/) init script that runs Nginx as daemon on system startup. Follow the installation instructions for Ubuntu at [Nginx: Linux packages - Ubuntu](https://nginx.org/en/linux_packages.html#Ubuntu). |
127 | 128 |
|
128 | 129 | # [Red Hat Enterprise Linux](#tab/linux-rhel) |
129 | 130 |
|
@@ -546,7 +547,7 @@ After upgrading the shared framework on the server, restart the ASP.NET Core app |
546 | 547 | ## Additional resources |
547 | 548 |
|
548 | 549 | * [Prerequisites for .NET on Linux](/dotnet/core/linux-prerequisites) |
549 | | -* [Nginx: Binary Releases: Official Debian/Ubuntu packages](https://www.nginx.com/resources/wiki/start/topics/tutorials/install/#official-debian-ubuntu-packages) |
| 550 | +* [Nginx: Linux packages - Ubuntu](https://nginx.org/en/linux_packages.html#Ubuntu) |
550 | 551 | * <xref:test/troubleshoot> |
551 | 552 | * <xref:host-and-deploy/proxy-load-balancer> |
552 | 553 | * [NGINX: Using the Forwarded header](https://www.nginx.com/resources/wiki/start/topics/examples/forwarded/) |
|
0 commit comments