---
title: "Discussion on \"Handling Forwarded Headers in ASP.NET Core with Nginx\" | Hashnode"
description: "Discussion on \"Handling Forwarded Headers in ASP.NET Core with Nginx\". When hosting an ASP.NET Core application behind a reverse proxy like Nginx, you must configure your app to handle forwarded headers properly. This ensures that properties like Request.Scheme, Request.Host, and HttpContext.Connection.RemoteIpAddress r..."
url: "https://hashnode.com/posts/handling-forwarded-headers-in-aspnet-core-with-nginx/685d54e3b4b2d4a16403f775"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Handling Forwarded Headers in ASP.NET Core with Nginx](https://ijanggmu.hashnode.dev/handling-forwarded-headers-in-aspnet-core-with-nginx?utm_source=hashnode&utm_medium=feed)

When hosting an ASP.NET Core application behind a reverse proxy like Nginx, you must configure your app to handle forwarded headers properly. This ensures that properties like Request.Scheme, Request.Host, and HttpContext.Connection.RemoteIpAddress r...

Jun 26, 2025 · 2 min read · ijanggmu.hashnode.dev  
Read the article

-   [#cybersecurity-1](https://hashnode.com/tag/cybersecurity-1)
-   [#proxy](https://hashnode.com/tag/proxy)
-   [#net](https://hashnode.com/tag/net)
-   [#aspnet-core](https://hashnode.com/tag/aspnet-core)
-   [#nginx](https://hashnode.com/tag/nginx)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#architecture](https://hashnode.com/tag/architecture)

## Written by

[Ejan Shrestha](https://hashnode.com/@ijanggmu)

@ijanggmu · Nepal

  
[View profile](https://hashnode.com/@ijanggmu)

Software Engineer @Ekbana Solution

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
