Answered by:
What does it mean for an ASP.NET Core app to run locally?

Question
-
User-177049091 posted
I am reading this tutorial: Host ASP.NET Core on Linux with Nginx https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx
And I am struggling to understand this sentence:"Publish and copy over the app
Configure the app for a framework-dependent deployment.
If the app is run locally and isn't configured to make secure connections (HTTPS), adopt either of the following approaches:"
How else is an ASP.NET core app run but locally on a machine? That doesn't make sense to me.
It looks like someone may have had the same question as me but the issue was closed as no issue:
https://github.com/dotnet/AspNetCore.Docs/issues/12097Saturday, April 11, 2020 8:40 AM
Answers
-
User753101303 posted
Hi,
Here locally means on the machine on which Nginx is installed. Not a Linux guy but you could certainly have Nginx on a dedicated machine and redirect http requests to other web servers where the ASP.NET app runs locally...
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, April 12, 2020 10:48 AM -
User-474980206 posted
ngnix is a reverse proxy. If It is hosted on the same machine as as the .net core app, you don’t need to use https, If ngnix is on a different machine you want to use https unless it’s a physically secure network.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, April 12, 2020 5:12 PM
All replies
-
User753101303 posted
Hi,
Here locally means on the machine on which Nginx is installed. Not a Linux guy but you could certainly have Nginx on a dedicated machine and redirect http requests to other web servers where the ASP.NET app runs locally...
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, April 12, 2020 10:48 AM -
User-474980206 posted
ngnix is a reverse proxy. If It is hosted on the same machine as as the .net core app, you don’t need to use https, If ngnix is on a different machine you want to use https unless it’s a physically secure network.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, April 12, 2020 5:12 PM -
User-177049091 posted
Thanks guys. That makes perfect sense, I just would not have worded it that way.
Sunday, April 12, 2020 9:27 PM