示例代码,把wp6路径的所有请求转发到其他域名的wp6路径,且带上query_string。
location /wp6/ {
proxy_pass http://xxx.com/wp6/;
proxy_set_header QUERY_STRING $query_string;
}
示例代码,把wp6路径的所有请求转发到其他域名的wp6路径,且带上query_string。
location /wp6/ {
proxy_pass http://xxx.com/wp6/;
proxy_set_header QUERY_STRING $query_string;
}