(1).已经安装好nginx。
(2).已有可以通过ip+端口号访问的服务(例如:106.13.163.85:8090)。
在以上条件满足的情况下,开始设置。
把nginx.conf文件编辑成如下图。(不清楚如何编辑可以查看https://blog.csdn.net/qq_38229263/article/details/106301835)
四.访问对比
访问106.13.163.85:8090
访问www.wananbayue.top