Re: Request path not passed to proxy when $scheme is used in proxy_pass URI

2013-03-24 Thread Ben Hoskings
sing, but now I know for next time :) Cheers Ben On 24 March 2013 14:56, Ben Hoskings wrote: > Hi all, I've found a strange behaviour with proxy_pass. I've reduced a > simple vhost that reproduces it: > > server { > listen 127.0.0.1:8000; > location /

Request path not passed to proxy when $scheme is used in proxy_pass URI

2013-03-23 Thread Ben Hoskings
works correctly: > curl -I -X GET http://localhost:8000/test-path > nc -l 127.0.0.1 9000 GET /test-path HTTP/1.0 I ran these tests on nginx-1.2.7 / OS X 10.8.3; the behaviour is the same on nginx-1.2.4 / Ubuntu 12.04 (which is where I discovered it). Am I using $scheme i