随笔分类 -  nginx

摘要:文件压缩配置 https://www.cnblogs.com/jiangjunli/p/7374356.html . 阅读全文
posted @ 2020-01-07 15:39 James2019 阅读(164) 评论(0) 推荐(0) 编辑
摘要:centos 宝塔面版 运行 thinkjs 几点要注意的地方: 1. https ssl 如图 2. thinkjs 运行子目录在/www如图配置: 3. 代理配置(展示查看配置) server { listen 80; listen 443 ssl http2; server_name doma 阅读全文
posted @ 2019-07-26 17:09 James2019 阅读(889) 评论(0) 推荐(0) 编辑
摘要:开始我尝试用 let's encrypt 让http 变 https 官方:https://github.com/certbot/certbot 参考:https://www.cnblogs.com/cool-fire/p/8205911.html 这个因本人太笨,没配置成功,转用腾讯大大平台的免费 阅读全文
posted @ 2019-01-23 17:13 James2019 阅读(905) 评论(0) 推荐(0) 编辑
摘要:前后分离 axios 接 api 跨域问题如图: 解决办法: 1. npm start 本地开发环境解决: 在webpack配置文件 /config/index.js 里找到 proxyTable 开启代理 changeOrigin:true, 2. npm run build 把 dist 放线上 阅读全文
posted @ 2018-04-22 08:16 James2019 阅读(19265) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示