nginx-gridfs
nginx-gridfs copied to clipboard
internal files
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.
Are you still having this problem? I can mark the location as internal without issue.
I quit using this due to storage space limitations on my VPS. So, I don't know if it works now or not.