#user nobody;
worker_processes 1;

#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;

#pid logs/nginx.pid;

events {
worker_connections 1024;
}

http {
include mime.types;
default_type application/octet-stream;

#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';

#access_log logs/access.log main;

sendfile on;
#tcp_nopush on;

#keepalive_timeout 0;
keepalive_timeout 65;

#gzip on;

upstream tomcats{
ip_hash;
server 115.233.227.46:28090;
server 115.233.227.46:28091;
}

server {
listen 9000;
server_name localhost;

location / {
root html;
index index.html index.htm;
proxy_pass http://tomcats;
}

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}

}

}

最新文章

  1. Linq查询数据集取得排序后的序列号(行号)
  2. Unique Paths [LeetCode]
  3. 单例模式(Singleton)的6种实现
  4. Lintcode--001(比较字符串)
  5. 我写过的软件之FileExpert
  6. 【剑指offer】的功率值
  7. 【使用Itext处理PDF文档(新建PDF文件、修改PDF文件、PDF中插入图片、将PDF文件转换为图片)】
  8. [Luogu2057]善意的投票
  9. Android Satudio的使用记录
  10. Xcode中SVN不能提交.a文件的解决方法
  11. 3ds max学习笔记-- 动画
  12. java面试复习题四
  13. 点云PCL中小细节
  14. iOS开发:一个高仿美团的团购ipad客户端的设计和实现(功能:根据拼音进行检索并展示数据,离线缓存团购数据,浏览记录与收藏记录的批量删除等)
  15. 图论-桥/割点/双连通分量/缩点/LCA
  16. Spring Cloud config之二:功能介绍
  17. 常用快捷键及eclipise快捷键
  18. 【Android】21.2 2D图形图像处理(Canvas和Paint)
  19. php array_flip() 删除数组重复元素
  20. opencv—读取一张图片并滤波

热门文章

  1. Monkey初步使用
  2. Java进阶知识06 Hibernate一对一单向外键关联(Annotation+XML实现)
  3. flask框架(八): 响应和请求
  4. Javascript引擎的单线程机制和setTimeout执行原理阐述
  5. orale数据库的SQL查询
  6. Chrome Development Tool: [VM] file from javascript
  7. mysql删除数据库所有表
  8. JxBrowser开启调试模式,JxBrowser debug
  9. LC 889. Construct Binary Tree from Preorder and Postorder Traversal
  10. javascript之Prototype属性