host dotnet core console app in in nginx in different port code example Example: asp.net core 3.1 publish on ubantu dotnet publish --configuration Release