Last post Apr 12, 2020 09:27 PM by dotnetuser101010110
Apr 11, 2020 08:40 AM|dotnetuser101010110|LINK
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:
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:
Apr 12, 2020 10:48 AM|PatriceSc|LINK
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...
Apr 12, 2020 05:12 PM|bruce (sqlwork.com)|LINK
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.
Apr 12, 2020 09:27 PM|dotnetuser101010110|LINK
Thanks guys. That makes perfect sense, I just would not have worded it that way.