Welcome! Log In Create A New Profile

Advanced

Re: proxy_pass with variable removes uri

March 05, 2014 07:23AM
Hi,
I've had troubles with url-decoding using this kind configuration, e.g. get variables with values containing spaces have been decoded before proxied which is resulting in an error.
For example I've tried:
location ~ ^/api/(.*) {
proxy_pass http://api.$host/$1$is_args$args;
}
but that gives an error if the uri is urlencoded.

Any ideas?


BR / Jonas
SubjectAuthorPosted

proxy_pass with variable removes uri

luckyswedeMarch 05, 2014 05:47AM

Re: proxy_pass with variable removes uri

Maxim DouninMarch 05, 2014 06:24AM

Re: proxy_pass with variable removes uri

luckyswedeMarch 05, 2014 07:23AM

Re: proxy_pass with variable removes uri

Maxim DouninMarch 05, 2014 07:34AM

Re: proxy_pass with variable removes uri

luckyswedeMarch 05, 2014 07:46AM

Re: proxy_pass with variable removes uri

Maxim DouninMarch 05, 2014 08:44AM

Re: proxy_pass with variable removes uri

Francis DalyMarch 05, 2014 07:44AM

Re: proxy_pass with variable removes uri

Valentin V. BartenevMarch 05, 2014 06:24AM

Re: proxy_pass with variable removes uri

luckyswedeMarch 05, 2014 06:29AM

Re: proxy_pass with variable removes uri

luckyswedeMarch 05, 2014 07:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 83
Record Number of Users: 5 on November 26, 2014
Record Number of Guests: 173 on November 26, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready