摘要: var crypto = require('crypto');module.exports = { md5: (str)=> { return crypto.createHash('md5').update(str).digest('hex').toUpperCase(); }, sha1: (st 阅读全文
posted @ 2016-12-07 10:33 夜未央丿 阅读(4980) 评论(0) 推荐(0) 编辑
摘要: 查看nginx 默认配置文件所在位置 >> nginx -t print --> nginx: the configuration file /etc/nginx/nginx.conf syntax is ok >> vim /etc/nginx/nginx.conf text --> includ 阅读全文
posted @ 2016-12-07 10:32 夜未央丿 阅读(188) 评论(0) 推荐(0) 编辑