宗小宗-PHP程序猿

欢迎各位朋友前来,如果我的文章中有不对的地方,还望指正;如需转载,请注明原处

摘要: upstream abc.com{ server 192.168.66.121;#域名无效,负载均衡实质是内网发挥作用,用域名就走外网了,没意义 server 192.168.66.122; } server { listen 8005; server_name 192.168.6.120:8005; log_not... 阅读全文
posted @ 2016-03-31 18:19 宗小宗 阅读(169) 评论(0) 推荐(0) 编辑
摘要: server { listen 192.168.66.88:8005; server_name 192.168.66.88:8005; root E:/Upays/public/; index index.php index.html; log_not_found off; access_log logs/upay-access.log; ... 阅读全文
posted @ 2016-03-31 18:12 宗小宗 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 修改http.conf监听多个端口 Listen 80 Listen 8001 Listen 8002 配置站点 <VirtualHost *:8001> ServerName *:8001 ServerAdmin webmaster@localhost DocumentRoot /var/www/ 阅读全文
posted @ 2016-03-31 18:02 宗小宗 阅读(172) 评论(0) 推荐(0) 编辑