随笔分类 -  Nginx

摘要:一、nginx 配置 访问静态资源 目标:想要尝试用IP的方式来访问 D:\test\imgs 下的资源 如上图配置,配置好nginx.conf文件。 在浏览器上输入:http://localhost:10080/imgs/ 得到结果: 注意:一定要在最后加上"/" http://localhost 阅读全文
posted @ 2020-01-16 10:23 math_lin 阅读(517) 评论(0) 推荐(0)