Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个自包含的 asp net core web 应用程序,我不知道我需要在文件系统中的哪个位置放置文件。我将使用没有反向代理的 Kestrel Web 服务器,因为它将位于 AWS 应用程序负载均衡器后面。我将使用亚马逊 linux2 AMI
只要托管用户对该文件夹具有足够的权限,就可以将其放置在任何地方。只需创建一个 systemd 服务配置,它就会正常工作。考虑将其放置在/usr/share应用程序通常所在的位置。
/usr/share