Maxim Dounin
March 05, 2014 08:44AM
Hello!

On Wed, Mar 05, 2014 at 07:46:38AM -0500, luckyswede wrote:

> Cool, that works!
> I don't understand why though, why is the uri urldecoded in my example but
> not in your example?

In your config, URI is defined using variables, and your are
responsible for proper urlencoding. Config suggested by me uses
proxy_pass without URI component (which uses request URI, even with
variables), and a rewrite to change request URI - hence nginx does
appropriate urlencoding.

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

proxy_pass with variable removes uri

luckyswede March 05, 2014 05:47AM

Re: proxy_pass with variable removes uri

Maxim Dounin March 05, 2014 06:24AM

Re: proxy_pass with variable removes uri

luckyswede March 05, 2014 07:23AM

Re: proxy_pass with variable removes uri

Maxim Dounin March 05, 2014 07:34AM

Re: proxy_pass with variable removes uri

luckyswede March 05, 2014 07:46AM

Re: proxy_pass with variable removes uri

Maxim Dounin March 05, 2014 08:44AM

Re: proxy_pass with variable removes uri

Francis Daly March 05, 2014 07:44AM

Re: proxy_pass with variable removes uri

Valentin V. Bartenev March 05, 2014 06:24AM

Re: proxy_pass with variable removes uri

luckyswede March 05, 2014 06:29AM

Re: proxy_pass with variable removes uri

luckyswede March 05, 2014 07:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 303
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready