centos7-asible:20.20.43.0
安装nginx
yum install -y nginx
配置
upstream demo-dev{ server 20.20.45.177:5000; server 20.20.41.213:5000; } server{ server_name dev.nops.icu; listen 80; access_log /var/log/test.nops.icu_access.log; error_log /var/log/test.nops.icu_error.log error; location / { proxy_pass http://demo-dev/; } }
启动服务
标签:log,20.20,nops,配置,dev,server,ansible,icu From: https://www.cnblogs.com/xiangyu5945/p/18134202