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.
我有一个当前在 aws 实例上运行的网站,现在我想在同一实例中托管另一个网站。我正在运行 nginx 作为服务器。您知道是否可以在该实例上托管两个网站?
谢谢
是的。您需要查看Server Blocks,它大致相当于 Apache 中的 VirtualHosts。另请参阅基本 Nginx 配置。