Rails XSendfile via Nginx

Francis Daly francis at daoine.org
Wed May 9 22:41:19 UTC 2012


On Thu, May 10, 2012 at 12:17:14AM +0200, Ari King wrote:

> **I also tried hard-coded values, but that still results in a 404
> error.**

> location ~ /lessons/1/video/(.*) {
>               internal;

"internal" means "return 404 if this is requested directly".

http://nginx.org/r/internal

>               alias /var/www/app/current/uploads/videos/1/original/$1;
>           }

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list