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.
Deployment of .Net Core API on Nginx in RedHat environment
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
3 answers
Sort by: Newest
-
-
shobhit gupta 1 Reputation point
2022-08-03T05:33:25.343+00:00 Thanks Bruce for sharing the document.
However, this looks to be for Ubuntu OS.
Will this be applicable for RHEL OS as well? -
Bruce (SqlWork.com) 56,771 Reputation points
2022-08-02T16:27:54.543+00:00 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.