随笔分类 - nginx
摘要:本机IP是10.221.135.223 1. 登录root用户: 1.1 将nginx目录及其子目录的所属用户和组改为普通用户autotest chown -R autotest:autotest /opt/app/env/nginx 1.2 将80端口映射到8088端口,443端口映射到4430端
阅读全文
摘要:1、nginx nginx目录:/opt/app/env/nginx cd /opt/app/env/nginx 启动:./nginx -c /opt/app/env/nginx/conf/nginx.conf 停止:./nginx -s stop 启动后效果: 如果想平稳启动,不影响线上用户使用的
阅读全文
摘要:需求: 在nginx配置:将http://tempo.travel.com/iam 路由到 10.225.65.178:8088/ 下列操作都是使用root账号 1、进入nginx安装路径,打开nginx.conf文件,添加配置 # cd /opt/app/env/nginx/conf # vi n
阅读全文