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.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to