Join Nate Barbettini for an in-depth discussion in this video Use Kestrel with NGINX, part of Deploying ASP.NET Core Applications (2017).
- [Instructor] We've got Kestrel running successfully…on our Linux machine and listening on port 5000.…But in order for the application to be reachable…from the outside world,…we need to listen on port 80 instead.…We could change the port that Kestrel is listening on,…but Microsoft recommends using the reverse proxy…in front of Kestrel instead.…As I mentioned earlier, a server like nginx or Apache…is a good choice here.…I'll show you how to get nginx…set up and configured to work with Kestrel.…If you don't already have nginx installed,…you can install it with sudo apt-get install nginx.…
And once it's installed, you can use…sudo service nginx start…to start up nginx.…To test this, we can flip over to a browser and try it out.…I know the IP address of my virtual machine,…and if I browse to it in a browser,…I can see the nginx default page.…That means nginx is configured and running properly…and exposing port 80 to the outside world.…This is exactly what we want.…The next step is changing the default configuration…
- Setting up your ASP.NET project
- Setting up IIS
- Creating an IIS site and app pool
- Publishing your app with Visual Studio or the command line
- Deploying to Azure
- Deploying to Linux
- Deploying with Docker
Skill Level Intermediate
1. Get Started
2. Deploying to IIS
3. Deploying to Azure
Get started with Azure1m 4s
4. Deploying to Linux
5. Deploying with Docker
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.