问题
Asp.net core is open source and run on any os like Linux, Windows and Mac. my question is. is it possible to run asp.net core application run on apache server publish on not on IIS server on Windows operating system. thanks in advance.
回答1:
There is no Apache mod to run ASP.NET Core application, however you can setup Apache or Nginx to be a reverse proxy for ASP.NET Core application running on Kestrel web server. This is actually what Microsoft recommends to do in production environment primarily for security reasons. For more details take a look at this article. To see how exactly configure Apache reverse proxy take a look here.
来源:https://stackoverflow.com/questions/43753059/how-to-run-my-asp-net-core-application-on-apache-server-on-windows