nginx localtion中想匹配 /index.html?page= 开头,或者匹配所有带有 ?的url,跳转到动态请求,
Jlins 2014-10-27 03:58:29 nginx localtion中想匹配 /index.html?page= 开头,或者匹配所有带有 ?的url,跳转到动态请求,
location 这里如何写?
{
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://tomcat;
}