摘要:
1.实现效果2.准备工作 在linux服务器/创建一个websitedata/image/qxlxi.jpg 和 websitedata/html/a.html 资源、3.修改Nginx配置文件 se... 阅读全文
摘要:
1.实现效果 在浏览器中访问http://xxxxx/dev/a.html,负载均衡效果,平均在8080和8081端口中。 2.准备工作 提前准备好两个tomcat 端口号一个是8081 ... 阅读全文
【nginx】nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /usr/local/nginx/conf
摘要:
1.出现的问题 在修改nginx 配置文件的时候 修改了http处 重新启动就报错。nginx: [emerg] invalid number of arguments in "proxy_pass" di... 阅读全文
摘要:
1.软件下载 到官网下载一个稳定的版本 http://nginx.org/en/download.html2.安装依赖2.1 安装pcre依赖 下载pcrewget http://downloads... 阅读全文