On Mon, Mar 24, 2014 at 8:13 AM, Francis Daly wrote:
On Sun, Mar 23, 2014 at 12:03:25PM -0400, Doc wrote:
Hi there,
This might be more of a regex problem on my part than nginx.
Yes, it is.
I do a rewrite to pass the full pathname to thttpd like this:
location ~ /radio/download/.*\.mp3
On Sun, Mar 23, 2014 at 12:03:25PM -0400, Doc wrote:
Hi there,
> This might be more of a regex problem on my part than nginx.
Yes, it is.
> I do a
> rewrite to pass the full pathname to thttpd like this:
>
> location ~ /radio/download/.*\.mp3$ {
> rewrite ^ /test/$1;
> }
What value do yo
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