微信小程序request请求封装
摘要:var app = getApp(); function request(url,postData,doSuccess,doFail,doComplete){ var host = getApp().conf.host; wx.request({ url: host+url, data:postData, method: 'POST', succes...
阅读全文
posted @
2017-01-14 09:26
FreeSpider
阅读(10631)
推荐(0) 编辑
搭建nginx反向代理用做内网域名转发
摘要:内网有三台服务器A/B/C, 由于申请的固定IP只有一个IP, 80端口只能给一个机器使用, 所以需要使用反向代理做域名转发去实现 这里我将A作为反向代理服务器(其实我也没搞明白为啥这么叫), 在A服务器上安装好nginx 一般在 /usr/local/nginx/conf/nginx.conf 里
阅读全文
posted @
2017-01-10 14:59
FreeSpider
阅读(9966)
推荐(0) 编辑