摘要: 记录nginx配置文件的配置项 # Nginx 默认配置文件nginx.conf中文详解 #定义Nginx运行的用户和用户组 #user nobody; #nginx进程数,建议设置为等于CPU总核心数。 worker_processes 1; #全局错误日志定义类型,[ debug | info 阅读全文
posted @ 2020-06-22 16:39 Mr_li_one 阅读(585) 评论(0) 推荐(0)
摘要: 1、技术:springboot、nginx; 练习springboot前后端分离,且用nginx代理部署,实现前后端分离。 控制层添加json数据,并返回json. @RestController @RequestMapping("/student") public class StudentCon 阅读全文
posted @ 2020-06-22 15:55 Mr_li_one 阅读(3157) 评论(0) 推荐(0)