Serving mp3 files from Nginx
Evan Miller
emmiller+gmane at gmail.com
Sat May 19 11:06:09 MSD 2007
<nhytro-python at ...> writes:
>
> I have noticed something very strange with Nginx. I can server normal mp3
files from Apache, and the can be
> played or downloaded normally, the same files do not work on Nginx.
>
The problem is that your system doesn't support "sendfile", as indicated in the
log. In your nginx.conf, delete this line:
sendfile on;
And things should be peachy.
Evan
> ## ======= ERROR LOG
>
> 007/05/18 00:26:10 [crit] 3784#0: *6 sendfile() failed (38: Function not
implemented) while sending
> response to client, client: 81.62.17.209, server: localhost, URL: "/test.mp3",
host: "www.nhytro.de"
>
> Does anyone have an idea what I have done wrong?
>
> Thanks
>
> _______________________________________________________________
> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
>
>
More information about the nginx
mailing list