nginx 即可,无需 PHP。
复制内容到剪贴板
代码:
server {
listen 80;
server_name api.your.domain.tld;
access_log /var/log/nginx/api.your.domain.tld.access.log;
location / {
proxy_pass http://twitter.com:80;
}
}
twip 是给需要用 PHP 自定义,或者没有 VPS / dedi 权限,而只有 Apache 共享主机账号的用户使用的。
[ 本帖最后由 glok 于 2010-8-8 21:06 编辑 ]