【发布时间】:2011-05-15 10:23:35
【问题描述】:
我需要将以下 nginx 规则转换为 Apache 配置。 谁能帮帮我。
location /chat {
rewrite /chat(/.+)$ $1 break;
proxy_pass http://localhost:8000;
proxy_set_header Host $host;
proxy_set_header Cookie $http_cookie;
proxy_buffering off;
proxy_send_timeout 310;
}
【问题讨论】:
-
这看起来不像是重写你想要的东西,而是代理的东西。
-
是的,它是代理的东西。所以这意味着我需要修改httpd.conf?如果是这样,那么 httpd.conf 中应该有什么?
标签: .htaccess apache2 nginx apache-config