see docs:
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-6.0
basically you configure systemd to start you asp.net core app. then you configure ngnix to reverse proxy to the service.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello Team,
For one of our Application requirement, we are looking to deploy .Net Core API on Nginx in RHEL environment.
However, not able to get the steps to achieve this.
Can you please share us the required documentation link which can help us to achieve the same?
Thanks,
Shobhit
see docs:
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-6.0
basically you configure systemd to start you asp.net core app. then you configure ngnix to reverse proxy to the service.
Thanks Bruce for sharing the document.
However, this looks to be for Ubuntu OS.
Will this be applicable for RHEL OS as well?
the install of nginx will be different as red-hat uses yum rather than apt. see ngnix installation docs. the service instructions are for systemd and should be the same. check the man pages to verify the folder location. if nano is not installed, use vim, or whichever editor you prefer.