Chinaunix首页 | 论坛 | 博客
  • 博客访问: 376517
  • 博文数量: 166
  • 博客积分: 1972
  • 博客等级: 上尉
  • 技术积分: 1845
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-19 21:16
文章分类

全部博文(166)

文章存档

2013年(7)

2010年(159)

分类: 系统运维

2010-10-12 16:36:28

  • nginx.conf
  • server {
  • listen 222.73.115.98:80;
  • server_name dbstage.yoohouse.com;
  • # root /var/www/html/phpmyadmin;
  • index index.php index.htm index.html;
  • access_log off;
  •  
  • location /{
  • proxy_pass http://dbstage;
  •  
  • }
  • }
  •  
  •  
  • httpd.conf
  • <VirtualHost 10.2.2.254:80>
  • ServerName dbstage.yoohouse.com
  • DocumentRoot /var/www/html/phpmyadmin
  • <Directory /var/www/html/sorry>
  • Options None
  • AllowOverride All
  • Order Allow,Deny
  • Allow from all
  • Directory>
  • VirtualHost>
  • 阅读(389) | 评论(0) | 转发(0) |
    给主人留下些什么吧!~~