nginx + IIS + GET
- by Eralde
I have nginx on pc "A" & IIS with ASP.NET on pc "B".
nginx is configured like this:
...
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;
}...
but requests to
"B"/WebScript?a=b&c=d
aren't able to deliver GET data (a=b&c=d) to IIS part.
Could anyone help with this?