Re: Nginx url decoding URI problem with proxy_pass

2018-07-26 Thread Igor A. Ippolitov
Michael, You can use rewrite. Just catch the host part: >rewrite /image_preview/https://(?[^ :/]/(.*) /$1; >proxy_pass https://$my_host rewrite will encode the URL back again. On 26.07.2018 20:18, Michael Kovacs wrote: Greetings Nginx mailing list! I'm using nginx as an image proxy and am usin

Nginx url decoding URI problem with proxy_pass

2018-07-26 Thread Michael Kovacs
Greetings Nginx mailing list! I'm using nginx as an image proxy and am using proxy_pass to fetch the image. Unfortunately if that image URL has a space in it the proxy_pass fails. It works fine with any other image. example successful URL: /image_preview/https://somedomain.com/image.jpg example