摘要: -- 安装>yum install nginx -y -- 查看>whereis nginx>目录>/usr/sbin/nginx 执行命令>/etc/nginx 配置文件位置>启动>/usr/sbin/nginx -c /etc/nginx/nginx.conf>停止sbin>nginx -s stop 阅读全文
posted @ 2018-01-27 10:22 1161588342 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 前端项目VUE 端口8081 , 后端项目JAVA 端口8080 #js, css缓存 location ~ .*\.(js|css)$ { proxy_set_header Host $host; proxy_pass http://127.0.0.1:8080; proxy_redirect o 阅读全文
posted @ 2018-01-27 10:17 1161588342 阅读(498) 评论(0) 推荐(0) 编辑
摘要: 比如编码utf-8, 环境为test. 在这里nohup 命令使用了解一下 操作系统中有三个常用的流: 0:标准输入流 stdin 1:标准输出流 stdout 2:标准错误流 stderr 一般当我们用 > console.txt,实际是 1>console.txt的省略用法;< console. 阅读全文
posted @ 2018-01-27 10:14 1161588342 阅读(380) 评论(0) 推荐(0) 编辑
摘要: 来自: https://www.cnblogs.com/wangluochong/p/7194037.html 阅读全文
posted @ 2018-01-27 10:11 1161588342 阅读(6115) 评论(0) 推荐(0) 编辑