【发布时间】:2016-12-18 05:22:52
【问题描述】:
我在 DO 的一台 Ubuntu 服务器上运行了 2 个流星应用程序。我还为“服务器”设置了 nginx
配置文件:
sailsadria.conf : http://pastebin.com/eCicpNxK ytp.klancir.work.conf:http://pastebin.com/cNKtA0dV
现在...
http://sailsadria.com/ 在端口 3000 上按预期顺利运行,而 http://ytp.klancir.work/ 在 ngnix root 上运行。另一方面,http://ytp.klancir.work:3010 会转到在该端口上工作的正确应用程序(但我认为我使用附加端口转发的任何 URL 或 IP 都将在正确的位置结束)
还设置了符号链接
域已配置: 帆萨德里亚:http://screencast.com/t/iqKUlQlDgj8 ytp.klancir.work:http://screencast.com/t/DJJdLfqna
我不知道如何设置http://ytp.klancir.work/ 直接进入端口 3010,换句话说 - 直接进入应用程序...
【问题讨论】: