Full pathname not sent

Doc icantthinkofone at charter.net
Sun Mar 23 16:03:25 UTC 2014


This might be more of a regex problem on my part than nginx. I do a 
rewrite to pass the full pathname to thttpd like this:

location ~ /radio/download/.*\.mp3$ {
     rewrite ^ /test/$1;
}

location /test {
     proxy_pass http://127.0.0.1:8000;
}

However the pathname received by thttpd is /test/ without the mp3 
filename.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140323/98085087/attachment.html>


More information about the nginx mailing list