Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 7, 2025

Fixes #36263

The link to Nginx installation instructions for Ubuntu was redirecting to the Nginx documentation homepage instead of the installation guide.

Changes

  • Installation instructions (line 127): Updated link from broken nginx.com/resources/wiki URL to official nginx.org/en/linux_packages.html#Ubuntu
  • Additional resources (line 550): Updated same broken link to point to official Nginx packages documentation
  • Metadata: Added ai-usage: ai-assisted and updated ms.date to 01/07/2025

The old URL https://www.nginx.com/resources/wiki/start/topics/tutorials/install/#official-debian-ubuntu-packages has been broken since May 2024. The new URL points to the official Nginx Linux packages page maintained at nginx.org.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • nginx.org
    • Triggering command: curl -I -L REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Host ASP.NET Core on Linux with Nginx : fix the installation instructions link for Ubuntu</issue_title>
<issue_description>### Description

The link Nginx: Official Debian/Ubuntu packages redirects to the Nginx documentation homepage (https://docs.nginx.com/).

This issue seems to date back to around May 2024 (see https://web.archive.org/web/20240513122843/https://www.nginx.com/resources/wiki/start/topics/tutorials/install/#official-debian-ubuntu-packages).

Page URL

https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-9.0&tabs=linux-ubuntu

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/host-and-deploy/linux-nginx.md

Document ID

815fe034-c9fc-aee3-a8b5-f2e860b30302

Platform Id

b6e25b01-256b-fd9a-838c-ad7de2de561a

Article author

@tdykstra

Metadata

  • ID: dcdd2c35-bf2b-2673-d150-303a8aaa54d2
  • PlatformId: b6e25b01-256b-fd9a-838c-ad7de2de561a
  • Service: aspnet-core
  • Sub-service: hosting-deployment

Related Issues</issue_description>

Comments on the Issue (you are @copilot in this section)

@wadepickett @lamereactor, thanks for taking the time to call this out. Very appreciated. @wadepickett AI analysis test run by wadepickett verify-issue-set-course-of-action_v.02 Model: GPT-4.1 ---------------- # Issue Analysis: Incorrect/Outdated Nginx Installation Link

Issue Summary

This is a valid issue. The documentation for "Host ASP.NET Core on Linux with Nginx" on Ubuntu references the link Nginx: Official Debian/Ubuntu packages, which now redirects to the Nginx documentation homepage instead of specific installation instructions. This may cause confusion or a broken workflow for users seeking to install Nginx on Ubuntu or Debian.

Scope and Article Intent

  • The article targets hosting ASP.NET Core apps on Linux (specifically Ubuntu, RHEL, SUSE) with Nginx as a reverse proxy.
  • It is valid for .NET Core >= 3.1 (per monikerRange line 5), and mentions using the latest stable .NET runtime (line 34).
  • Visual Studio is not specifically referenced; the instructions are CLI-based, suitable for any modern .NET development environment.

Target .NET and Visual Studio Version

  • .NET Core 3.1 and higher (including .NET 6, .NET 7, .NET 8, .NET 9.0).
  • No specific Visual Studio version required, but compatible with VS 2019, 2022, or VS Code.

What Should Be Changed

Files and Line Numbers

Specific Lines to Update

1. Installation Instructions (Ubuntu)
  • Current (line ~126):

    Use apt-get to install Nginx. The installer creates a systemd init script that runs Nginx as daemon on system startup. Follow the installation instructions for Ubuntu at Nginx: Official Debian/Ubuntu packages.

  • Recommended Fix:

    • Change the link to the official Nginx Linux packages page:
      Follow the installation instructions for Ubuntu at [Nginx: Linux packages - Ubuntu](https://nginx.org/en/linux_packages.html#Ubuntu).
      
2. Additional Resources (line ~549)
  • Current:

  • Recommended Fix:

    • Update the link and text:
      * [Nginx: Linux Packages (Ubuntu/Debian)](https://nginx.org/en/linux_packages.html)
      * [Ubuntu: Install and configure Nginx](https://ubuntu.com/tutorials/install-and-configure-nginx)
      

Summary Table

File Section/Line Range Change Type Details/Reason
aspnetcore/host-and-deploy/linux-nginx.md ~126 ...

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.


Internal previews

📄 File 🔗 Preview link
aspnetcore/host-and-deploy/linux-nginx.md Host ASP.NET Core on Linux with Nginx

Copilot AI changed the title [WIP] Fix installation instructions link for Nginx on Ubuntu Fix broken Nginx installation link for Ubuntu Nov 7, 2025
Copilot AI requested a review from tdykstra November 7, 2025 23:32
Copilot finished work on behalf of tdykstra November 7, 2025 23:32
@tdykstra tdykstra requested a review from wadepickett November 7, 2025 23:38
@wadepickett wadepickett marked this pull request as ready for review November 10, 2025 16:31
Copy link
Contributor

@wadepickett wadepickett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, approved. The link goes right to the rereqs directly.
I updated the ms.date which was showing January. I think just a typo, 1 vs 11 for Nov.

@tdykstra tdykstra merged commit 8a9f7fb into main Nov 10, 2025
4 checks passed
@tdykstra tdykstra deleted the copilot/fix-nginx-installation-link branch November 10, 2025 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Host ASP.NET Core on Linux with Nginx : fix the installation instructions link for Ubuntu

3 participants