nginx-gridfs icon indicating copy to clipboard operation
nginx-gridfs copied to clipboard

internal files

Open eltiare opened this issue 14 years ago • 2 comments

I'm having trouble with the internal keyword:


location /testing2/ {
    internal;
    gridfs db_name field=filename type=string;
}

If I comment it out, I can access the files with this path from a web browser:

/testing2/image/web/4c4f4a690190bd3fb2000084/thumb_1930.jpg

However, when I uncomment that line and send the X-Accel-Redirect header from my app with the same path, I get a one byte file that is downloaded.

eltiare avatar Aug 19 '10 23:08 eltiare

Are you still having this problem? I can mark the location as internal without issue.

doxavore avatar Nov 21 '10 20:11 doxavore

I quit using this due to storage space limitations on my VPS. So, I don't know if it works now or not.

eltiare avatar Nov 22 '10 18:11 eltiare