apache代理配置 |
发布: 2013-08-07 10:34 |
ProxyVia Full ProxyPreserveHost On ServerName dev-switching-stage-proxy.kitech.com ServerAlias slae.kitech.com ServerAlias photo.kitech.com.cn ServerAlias src.kitech.com.cn ServerAlias admin.photo.kitech.com.cn ServerAlias phpmyadmin.kitech.com ServerAlias imgcdn.kitech.com.cn ProxyPass / http://10.207.0.201:8000/ ProxyPassReverse / http://10.207.0.201:8000/ # ProxyPassReverseCookieDomain photo.kitech.com.cn:8080 photo.kitech.com.cn ProxyVia Full 作用为添加一个标识性的header ProxyPreserveHost On 添加一个Host: header,保持发向后端的host域名不变 ProxyPassReverse 保证在非80后端的情况可以正常使用。 |
原文: http://qtchina.tk/?q=node/751 |
Powered by zexport
|