nginx + IIS + GET

我有Nginx的PC“A”与ASP.NET与电脑“B”的IIS。

nginx是这样configuration的:

… location〜((Web | Script)Resource。*)$ {

proxy_pass "B"/$1; proxy_redirect off; proxy_set_header REMOTE_ADDR $remote_addr; proxy_set_header REQUEST_URI $request_uri; proxy_set_header HTTP_REFERER $http_referer; #proxy_set_header REQUEST_URI $request_uri; proxy_set_header QUERY_STRING $query_string; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }... 

但要求

“B”/ WebScript?A = B& C = d

不能将GET数据(a = b&c = d)传递给IIS部分。

任何人都可以帮忙吗?

编辑:

还有一些额外的信息:

nginx也被configuration为将其他数据代理到Apache,在“A”上运行一切都很好(至lessGET是好的)。

configuration与上面相同,但是对于不同的位置

服务器{
听80;
server_name“B”URL; – – – – 例如here.myserver.com或www.myseaver.com

位置 / {
proxy_pass http://“B”intranet IP:port; – – – – 例如192.168.1.101:80

proxy_set_header主机$主机;