摘要:
配置权重 upstream tomcats { server 172.21.13.165:8088 weight=10; server 172.21.13.81:8088 weight=1; } server { listen 80; #绕过跨域 这样后端那些接口需要跨域也不用单独配置了。这样 we 阅读全文
摘要:
Nginx的下载网址为:http://nginx.org/en/download.html Nginx源码下载 # mkdir /root/nginx # cd /root/nginx # wget http://nginx.org/download/nginx-1.12.2.tar.gz # ta 阅读全文