Welcome! Log In Create A New Profile

Advanced

Re: proxy pass encoding % problem

May 07, 2013 06:48AM
There are no rewrite policies.
location /gw_proxy {
#internal;
#resolver 8.8.8.8;
proxy_http_version 1.1;
proxy_pass http://50.112.76.185:9001;
proxy_pass_request_body off;
proxy_set_header Content-Length 0;
}

invoke nginx with this url : http://54.245.39.250:8081/gw_proxy/test%2btest/
uri sent by nginx : /gw_proxy/test%252btest/

local res = ngx.location.capture("/gw_proxy" .. ngx.var.request_uri, {
method = ngx_methods[gw_method],
body = "",
vars = {
}
});

This is my configuration. Please advise.
SubjectAuthorPosted

proxy pass encoding % problem

KrupaMay 07, 2013 05:45AM

Re: proxy pass encoding % problem

Maxim DouninMay 07, 2013 06:38AM

Re: proxy pass encoding % problem

KrupaMay 07, 2013 06:48AM

Re: proxy pass encoding % problem

Maxim DouninMay 07, 2013 08:26AM

Re: proxy pass encoding % problem

jraddMay 07, 2013 10:35PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 94
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready