Skip to content

Instantly share code, notes, and snippets.

View porkopek's full-sized avatar
📈
Working from home

Porkopek porkopek

📈
Working from home
View GitHub Profile
@porkopek
porkopek / Startup.cs
Created June 1, 2020 00:16
configuring nginx to work with asp.net core 3.1
app.UseForwardedHeaders(new ForwardedHeadersOptions
{
ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto
});