【问题标题】:How to Setup/Configure nginx server for dotnet project (csproj)?如何为 dotnet 项目(csproj)设置/配置 nginx 服务器?
【发布时间】:2017-04-01 19:48:09
【问题描述】:

我是 dotnet 和 nginx 的新手。我已经在 Mac 上移动了我的 dontnet 项目(Visual Studio mac 预览版),所以在 Mac 中我没有 ISS。

所以,尝试像 nginxapache 这样的 ISS 替代方案。

需要信息 - 如何在 Mac 机器上为 dotnet 项目 (csproj) 设置/配置 nginx 服务器?

【问题讨论】:

  • 有什么帮助吗?

标签: .net apache nginx csproj visual-studio-mac


【解决方案1】:

您应该能够在 Mac 上使用Kestrel 之类的 HTTP 服务器运行 ASP.NET Core,并使用 nginx 作为静态内容的反向代理。

https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app-xplat/start-mvc

控制台应用见这里:https://docs.microsoft.com/en-us/dotnet/core/tutorials/using-on-macos

希望对你有帮助

【讨论】:

    猜你喜欢
    • 2017-04-26
    • 1970-01-01
    • 2017-05-12
    • 2012-08-20
    • 1970-01-01
    • 2020-02-03
    • 2018-12-15
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多