Created
June 1, 2020 00:16
-
-
Save porkopek/cac3ad96383e653232deefe8dcd4f12e to your computer and use it in GitHub Desktop.
configuring nginx to work with asp.net core 3.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.UseForwardedHeaders(new ForwardedHeadersOptions | |
{ | |
ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment