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>
阅读(424) | 评论(0) | 转发(0) |