centos 6.5
nginx 1.4.4
/etc/nginx/conf.d 下创建tornado.conf upstream tornado {
server 127.0.0.1:8887;
server 127.0.0.1:8888;
server 127.0.0.1:8889;
}
server {
listen 8090;
location / {
proxy_pass_header Server;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_pass http://tornado;
}
}

# service nginx restart

输入127.0.0.1:8090即可看到效果

最新文章

  1. bootstrap 实战入门教程(一)
  2. 部分MP4在谷歌浏览器上无法播放
  3. unity3d Vector3.Lerp解析
  4. EXCEL中汉字转大写拼音
  5. html5,表格与框架综合布局
  6. 剑指offer--3题
  7. [转]BluetoothDevice.getType()-一个常常被忽略了的函数。好用的不要不要的
  8. HDU1054Strategic Game(最小顶点覆盖数)
  9. 破解C#的readonly只读字段
  10. .Net 4.5 Task
  11. EditText默认不显示光标,不可编辑,点击它,进入编辑状态,光标显示
  12. 利用PL/SQL Developer工具导出数据到excel,导入excel数据到表
  13. 我的android学习脚步----------- Button 和监听器setonclicklistener
  14. 编译安装nginx却requires the PCRE library
  15. 再起航,我的学习笔记之JavaScript设计模式06(抽象工厂模式)
  16. 批量查询sql脚本
  17. Python Web框架篇:Django Model ORM(对象关系映射)
  18. IE iframe cookie问题(p3p)
  19. 百度地图失去坐标html
  20. 1、jQuery的使用入门

热门文章

  1. ttk.Treeview
  2. PHP文件环境搭建—EcShop环境搭建
  3. TCP 粘包及其解决方案(zz)
  4. brew安装mysql
  5. OfficeAddin基础
  6. VX的快捷方式(转)
  7. 一句话木马与caidao
  8. android 屏幕显示
  9. SDL安装小结
  10. 【我要学python】愣头青之初安装就打了一记耳光